1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = SVGAnimatedNumber , typescript_type = "SVGAnimatedNumber")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgAnimatedNumber` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"] 13 pub type SvgAnimatedNumber; 14 # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedNumber" , js_name = baseVal)] 15 #[doc = "Getter for the `baseVal` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"] base_val(this: &SvgAnimatedNumber) -> f3220 pub fn base_val(this: &SvgAnimatedNumber) -> f32; 21 # [wasm_bindgen (structural , method , setter , js_class = "SVGAnimatedNumber" , js_name = baseVal)] 22 #[doc = "Setter for the `baseVal` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedNumber/baseVal)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"] set_base_val(this: &SvgAnimatedNumber, value: f32)27 pub fn set_base_val(this: &SvgAnimatedNumber, value: f32); 28 # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimatedNumber" , 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/SVGAnimatedNumber/animVal)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`*"] anim_val(this: &SvgAnimatedNumber) -> f3234 pub fn anim_val(this: &SvgAnimatedNumber) -> f32; 35 } 36