web_sys/features/
gen_SvgPolylineElement.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "SvgGeometryElement",
9 extends = "SvgGraphicsElement",
10 extends = "SvgElement",
11 extends = "Element",
12 extends = "Node",
13 extends = "EventTarget",
14 extends = "::js_sys::Object",
15 js_name = "SVGPolylineElement",
16 typescript_type = "SVGPolylineElement"
17 )]
18 #[derive(Debug, Clone, PartialEq, Eq)]
19 #[doc = "The `SvgPolylineElement` class."]
20 #[doc = ""]
21 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement)"]
22 #[doc = ""]
23 #[doc = "*This API requires the following crate features to be activated: `SvgPolylineElement`*"]
24 pub type SvgPolylineElement;
25 #[cfg(feature = "SvgPointList")]
26 #[wasm_bindgen(method, getter, js_class = "SVGPolylineElement", js_name = "points")]
27 #[doc = "Getter for the `points` field of this object."]
28 #[doc = ""]
29 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/points)"]
30 #[doc = ""]
31 #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*"]
32 pub fn points(this: &SvgPolylineElement) -> SvgPointList;
33 #[cfg(feature = "SvgPointList")]
34 #[wasm_bindgen(
35 method,
36 getter,
37 js_class = "SVGPolylineElement",
38 js_name = "animatedPoints"
39 )]
40 #[doc = "Getter for the `animatedPoints` field of this object."]
41 #[doc = ""]
42 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement/animatedPoints)"]
43 #[doc = ""]
44 #[doc = "*This API requires the following crate features to be activated: `SvgPointList`, `SvgPolylineElement`*"]
45 pub fn animated_points(this: &SvgPolylineElement) -> SvgPointList;
46}