web_sys/features/
gen_SvgFilterElement.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "SvgElement",
9 extends = "Element",
10 extends = "Node",
11 extends = "EventTarget",
12 extends = "::js_sys::Object",
13 js_name = "SVGFilterElement",
14 typescript_type = "SVGFilterElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `SvgFilterElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgFilterElement`*"]
22 pub type SvgFilterElement;
23 #[cfg(feature = "SvgAnimatedEnumeration")]
24 #[wasm_bindgen(method, getter, js_class = "SVGFilterElement", js_name = "filterUnits")]
25 #[doc = "Getter for the `filterUnits` field of this object."]
26 #[doc = ""]
27 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/filterUnits)"]
28 #[doc = ""]
29 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*"]
30 pub fn filter_units(this: &SvgFilterElement) -> SvgAnimatedEnumeration;
31 #[cfg(feature = "SvgAnimatedEnumeration")]
32 #[wasm_bindgen(
33 method,
34 getter,
35 js_class = "SVGFilterElement",
36 js_name = "primitiveUnits"
37 )]
38 #[doc = "Getter for the `primitiveUnits` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/primitiveUnits)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedEnumeration`, `SvgFilterElement`*"]
43 pub fn primitive_units(this: &SvgFilterElement) -> SvgAnimatedEnumeration;
44 #[cfg(feature = "SvgAnimatedLength")]
45 #[wasm_bindgen(method, getter, js_class = "SVGFilterElement", js_name = "x")]
46 #[doc = "Getter for the `x` field of this object."]
47 #[doc = ""]
48 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/x)"]
49 #[doc = ""]
50 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
51 pub fn x(this: &SvgFilterElement) -> SvgAnimatedLength;
52 #[cfg(feature = "SvgAnimatedLength")]
53 #[wasm_bindgen(method, getter, js_class = "SVGFilterElement", js_name = "y")]
54 #[doc = "Getter for the `y` field of this object."]
55 #[doc = ""]
56 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/y)"]
57 #[doc = ""]
58 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
59 pub fn y(this: &SvgFilterElement) -> SvgAnimatedLength;
60 #[cfg(feature = "SvgAnimatedLength")]
61 #[wasm_bindgen(method, getter, js_class = "SVGFilterElement", js_name = "width")]
62 #[doc = "Getter for the `width` field of this object."]
63 #[doc = ""]
64 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/width)"]
65 #[doc = ""]
66 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
67 pub fn width(this: &SvgFilterElement) -> SvgAnimatedLength;
68 #[cfg(feature = "SvgAnimatedLength")]
69 #[wasm_bindgen(method, getter, js_class = "SVGFilterElement", js_name = "height")]
70 #[doc = "Getter for the `height` field of this object."]
71 #[doc = ""]
72 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/height)"]
73 #[doc = ""]
74 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgFilterElement`*"]
75 pub fn height(this: &SvgFilterElement) -> SvgAnimatedLength;
76 #[cfg(feature = "SvgAnimatedString")]
77 #[wasm_bindgen(method, getter, js_class = "SVGFilterElement", js_name = "href")]
78 #[doc = "Getter for the `href` field of this object."]
79 #[doc = ""]
80 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement/href)"]
81 #[doc = ""]
82 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgFilterElement`*"]
83 pub fn href(this: &SvgFilterElement) -> SvgAnimatedString;
84}