1 #![allow(unused_imports)] 2 use super::*; 3 use wasm_bindgen::prelude::*; 4 #[wasm_bindgen] 5 extern "C" { 6 # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAnimationElement , typescript_type = "SVGAnimationElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `SvgAnimationElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] 13 pub type SvgAnimationElement; 14 # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = targetElement)] 15 #[doc = "Getter for the `targetElement` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/targetElement)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] target_element(this: &SvgAnimationElement) -> Option<SvgElement>20 pub fn target_element(this: &SvgAnimationElement) -> Option<SvgElement>; 21 #[cfg(feature = "SvgStringList")] 22 # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredFeatures)] 23 #[doc = "Getter for the `requiredFeatures` field of this object."] 24 #[doc = ""] 25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredFeatures)"] 26 #[doc = ""] 27 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"] required_features(this: &SvgAnimationElement) -> SvgStringList28 pub fn required_features(this: &SvgAnimationElement) -> SvgStringList; 29 #[cfg(feature = "SvgStringList")] 30 # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = requiredExtensions)] 31 #[doc = "Getter for the `requiredExtensions` field of this object."] 32 #[doc = ""] 33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/requiredExtensions)"] 34 #[doc = ""] 35 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"] required_extensions(this: &SvgAnimationElement) -> SvgStringList36 pub fn required_extensions(this: &SvgAnimationElement) -> SvgStringList; 37 #[cfg(feature = "SvgStringList")] 38 # [wasm_bindgen (structural , method , getter , js_class = "SVGAnimationElement" , js_name = systemLanguage)] 39 #[doc = "Getter for the `systemLanguage` field of this object."] 40 #[doc = ""] 41 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/systemLanguage)"] 42 #[doc = ""] 43 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`, `SvgStringList`*"] system_language(this: &SvgAnimationElement) -> SvgStringList44 pub fn system_language(this: &SvgAnimationElement) -> SvgStringList; 45 # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = beginElement)] 46 #[doc = "The `beginElement()` method."] 47 #[doc = ""] 48 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElement)"] 49 #[doc = ""] 50 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] begin_element(this: &SvgAnimationElement) -> Result<(), JsValue>51 pub fn begin_element(this: &SvgAnimationElement) -> Result<(), JsValue>; 52 # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = beginElementAt)] 53 #[doc = "The `beginElementAt()` method."] 54 #[doc = ""] 55 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/beginElementAt)"] 56 #[doc = ""] 57 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] begin_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>58 pub fn begin_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>; 59 # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = endElement)] 60 #[doc = "The `endElement()` method."] 61 #[doc = ""] 62 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElement)"] 63 #[doc = ""] 64 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] end_element(this: &SvgAnimationElement) -> Result<(), JsValue>65 pub fn end_element(this: &SvgAnimationElement) -> Result<(), JsValue>; 66 # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = endElementAt)] 67 #[doc = "The `endElementAt()` method."] 68 #[doc = ""] 69 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/endElementAt)"] 70 #[doc = ""] 71 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] end_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>72 pub fn end_element_at(this: &SvgAnimationElement, offset: f32) -> Result<(), JsValue>; 73 # [wasm_bindgen (method , structural , js_class = "SVGAnimationElement" , js_name = getCurrentTime)] 74 #[doc = "The `getCurrentTime()` method."] 75 #[doc = ""] 76 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getCurrentTime)"] 77 #[doc = ""] 78 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] get_current_time(this: &SvgAnimationElement) -> f3279 pub fn get_current_time(this: &SvgAnimationElement) -> f32; 80 # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = getSimpleDuration)] 81 #[doc = "The `getSimpleDuration()` method."] 82 #[doc = ""] 83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getSimpleDuration)"] 84 #[doc = ""] 85 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] get_simple_duration(this: &SvgAnimationElement) -> Result<f32, JsValue>86 pub fn get_simple_duration(this: &SvgAnimationElement) -> Result<f32, JsValue>; 87 # [wasm_bindgen (catch , method , structural , js_class = "SVGAnimationElement" , js_name = getStartTime)] 88 #[doc = "The `getStartTime()` method."] 89 #[doc = ""] 90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/getStartTime)"] 91 #[doc = ""] 92 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] get_start_time(this: &SvgAnimationElement) -> Result<f32, JsValue>93 pub fn get_start_time(this: &SvgAnimationElement) -> Result<f32, JsValue>; 94 # [wasm_bindgen (method , structural , js_class = "SVGAnimationElement" , js_name = hasExtension)] 95 #[doc = "The `hasExtension()` method."] 96 #[doc = ""] 97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimationElement/hasExtension)"] 98 #[doc = ""] 99 #[doc = "*This API requires the following crate features to be activated: `SvgAnimationElement`*"] has_extension(this: &SvgAnimationElement, extension: &str) -> bool100 pub fn has_extension(this: &SvgAnimationElement, extension: &str) -> bool; 101 } 102