#![allow(unused_imports)] #![allow(clippy::all)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { #[wasm_bindgen( extends = "SvgElement", extends = "Element", extends = "Node", extends = "EventTarget", extends = "::js_sys::Object", js_name = "SVGStopElement", typescript_type = "SVGStopElement" )] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `SvgStopElement` class."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgStopElement`*"] pub type SvgStopElement; #[cfg(feature = "SvgAnimatedNumber")] #[wasm_bindgen(method, getter, js_class = "SVGStopElement", js_name = "offset")] #[doc = "Getter for the `offset` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement/offset)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgStopElement`*"] pub fn offset(this: &SvgStopElement) -> SvgAnimatedNumber; }