1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgGradientElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGLinearGradientElement , typescript_type = "SVGLinearGradientElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgLinearGradientElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgLinearGradientElement`*"] 13 pub type SvgLinearGradientElement; 14 #[cfg(feature = "SvgAnimatedLength")] 15 # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = x1)] 16 #[doc = "Getter for the `x1` field of this object."] 17 #[doc = ""] 18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x1)"] 19 #[doc = ""] 20 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"] x1(this: &SvgLinearGradientElement) -> SvgAnimatedLength21 pub fn x1(this: &SvgLinearGradientElement) -> SvgAnimatedLength; 22 #[cfg(feature = "SvgAnimatedLength")] 23 # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = y1)] 24 #[doc = "Getter for the `y1` field of this object."] 25 #[doc = ""] 26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y1)"] 27 #[doc = ""] 28 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"] y1(this: &SvgLinearGradientElement) -> SvgAnimatedLength29 pub fn y1(this: &SvgLinearGradientElement) -> SvgAnimatedLength; 30 #[cfg(feature = "SvgAnimatedLength")] 31 # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = x2)] 32 #[doc = "Getter for the `x2` field of this object."] 33 #[doc = ""] 34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/x2)"] 35 #[doc = ""] 36 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"] x2(this: &SvgLinearGradientElement) -> SvgAnimatedLength37 pub fn x2(this: &SvgLinearGradientElement) -> SvgAnimatedLength; 38 #[cfg(feature = "SvgAnimatedLength")] 39 # [wasm_bindgen (structural , method , getter , js_class = "SVGLinearGradientElement" , js_name = y2)] 40 #[doc = "Getter for the `y2` field of this object."] 41 #[doc = ""] 42 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement/y2)"] 43 #[doc = ""] 44 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLinearGradientElement`*"] y2(this: &SvgLinearGradientElement) -> SvgAnimatedLength45 pub fn y2(this: &SvgLinearGradientElement) -> SvgAnimatedLength; 46 } 47