summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_SvgStopElement.rs
blob: e44635629ababbf387a1fedea93de48b8d32a36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#![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 (structural , 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;
}