Skip to main content

web_sys/features/
gen_SvgAnimatedLength.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "::js_sys::Object",
9        js_name = "SVGAnimatedLength",
10        typescript_type = "SVGAnimatedLength"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `SvgAnimatedLength` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`*"]
18    pub type SvgAnimatedLength;
19    #[cfg(feature = "SvgLength")]
20    #[wasm_bindgen(method, getter, js_class = "SVGAnimatedLength", js_name = "baseVal")]
21    #[doc = "Getter for the `baseVal` field of this object."]
22    #[doc = ""]
23    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/baseVal)"]
24    #[doc = ""]
25    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*"]
26    pub fn base_val(this: &SvgAnimatedLength) -> SvgLength;
27    #[cfg(feature = "SvgLength")]
28    #[wasm_bindgen(method, getter, js_class = "SVGAnimatedLength", js_name = "animVal")]
29    #[doc = "Getter for the `animVal` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedLength/animVal)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLength`, `SvgLength`*"]
34    pub fn anim_val(this: &SvgAnimatedLength) -> SvgLength;
35}