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 = SVGSymbolElement , typescript_type = "SVGSymbolElement" ) ]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `SvgSymbolElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `SvgSymbolElement`*"]
13     pub type SvgSymbolElement;
14     #[cfg(feature = "SvgAnimatedRect")]
15     # [ wasm_bindgen ( structural , method , getter , js_class = "SVGSymbolElement" , js_name = viewBox ) ]
16     #[doc = "Getter for the `viewBox` field of this object."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/viewBox)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedRect`, `SvgSymbolElement`*"]
view_box(this: &SvgSymbolElement) -> SvgAnimatedRect21     pub fn view_box(this: &SvgSymbolElement) -> SvgAnimatedRect;
22     #[cfg(feature = "SvgAnimatedPreserveAspectRatio")]
23     # [ wasm_bindgen ( structural , method , getter , js_class = "SVGSymbolElement" , js_name = preserveAspectRatio ) ]
24     #[doc = "Getter for the `preserveAspectRatio` field of this object."]
25     #[doc = ""]
26     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/preserveAspectRatio)"]
27     #[doc = ""]
28     #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedPreserveAspectRatio`, `SvgSymbolElement`*"]
preserve_aspect_ratio(this: &SvgSymbolElement) -> SvgAnimatedPreserveAspectRatio29     pub fn preserve_aspect_ratio(this: &SvgSymbolElement) -> SvgAnimatedPreserveAspectRatio;
30     #[cfg(feature = "SvgStringList")]
31     # [ wasm_bindgen ( structural , method , getter , js_class = "SVGSymbolElement" , js_name = requiredFeatures ) ]
32     #[doc = "Getter for the `requiredFeatures` field of this object."]
33     #[doc = ""]
34     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredFeatures)"]
35     #[doc = ""]
36     #[doc = "*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*"]
required_features(this: &SvgSymbolElement) -> SvgStringList37     pub fn required_features(this: &SvgSymbolElement) -> SvgStringList;
38     #[cfg(feature = "SvgStringList")]
39     # [ wasm_bindgen ( structural , method , getter , js_class = "SVGSymbolElement" , js_name = requiredExtensions ) ]
40     #[doc = "Getter for the `requiredExtensions` field of this object."]
41     #[doc = ""]
42     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/requiredExtensions)"]
43     #[doc = ""]
44     #[doc = "*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*"]
required_extensions(this: &SvgSymbolElement) -> SvgStringList45     pub fn required_extensions(this: &SvgSymbolElement) -> SvgStringList;
46     #[cfg(feature = "SvgStringList")]
47     # [ wasm_bindgen ( structural , method , getter , js_class = "SVGSymbolElement" , js_name = systemLanguage ) ]
48     #[doc = "Getter for the `systemLanguage` field of this object."]
49     #[doc = ""]
50     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/systemLanguage)"]
51     #[doc = ""]
52     #[doc = "*This API requires the following crate features to be activated: `SvgStringList`, `SvgSymbolElement`*"]
system_language(this: &SvgSymbolElement) -> SvgStringList53     pub fn system_language(this: &SvgSymbolElement) -> SvgStringList;
54     # [ wasm_bindgen ( method , structural , js_class = "SVGSymbolElement" , js_name = hasExtension ) ]
55     #[doc = "The `hasExtension()` method."]
56     #[doc = ""]
57     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement/hasExtension)"]
58     #[doc = ""]
59     #[doc = "*This API requires the following crate features to be activated: `SvgSymbolElement`*"]
has_extension(this: &SvgSymbolElement, extension: &str) -> bool60     pub fn has_extension(this: &SvgSymbolElement, extension: &str) -> bool;
61 }
62