Skip to main content

web_sys/features/
gen_SvgAnimatedNumber.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 = "SVGAnimatedNumber",
10        typescript_type = "SVGAnimatedNumber"
11    )]
12    #[derive(Debug, Clone, PartialEq, Eq)]
13    #[doc = "The `SvgAnimatedNumber` class."]
14    #[doc = ""]
15    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber)"]
16    #[doc = ""]
17    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
18    pub type SvgAnimatedNumber;
19    #[wasm_bindgen(method, getter, js_class = "SVGAnimatedNumber", js_name = "baseVal")]
20    #[doc = "Getter for the `baseVal` field of this object."]
21    #[doc = ""]
22    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)"]
23    #[doc = ""]
24    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
25    pub fn base_val(this: &SvgAnimatedNumber) -> f32;
26    #[wasm_bindgen(method, setter, js_class = "SVGAnimatedNumber", js_name = "baseVal")]
27    #[doc = "Setter for the `baseVal` field of this object."]
28    #[doc = ""]
29    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)"]
30    #[doc = ""]
31    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
32    pub fn set_base_val(this: &SvgAnimatedNumber, value: f32);
33    #[wasm_bindgen(method, getter, js_class = "SVGAnimatedNumber", js_name = "animVal")]
34    #[doc = "Getter for the `animVal` field of this object."]
35    #[doc = ""]
36    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/animVal)"]
37    #[doc = ""]
38    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"]
39    pub fn anim_val(this: &SvgAnimatedNumber) -> f32;
40}