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