1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGStopElement , typescript_type = "SVGStopElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgStopElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgStopElement`*"] 13 pub type SvgStopElement; 14 #[cfg(feature = "SvgAnimatedNumber")] 15 # [wasm_bindgen (structural , method , getter , js_class = "SVGStopElement" , js_name = offset)] 16 #[doc = "Getter for the `offset` field of this object."] 17 #[doc = ""] 18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement/offset)"] 19 #[doc = ""] 20 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgStopElement`*"] offset(this: &SvgStopElement) -> SvgAnimatedNumber21 pub fn offset(this: &SvgStopElement) -> SvgAnimatedNumber; 22 } 23