1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGAElement , typescript_type = "SVGAElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `SvgaElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
14 pub type SvgaElement;
15 #[cfg(feature = "SvgAnimatedString")]
16 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = target)]
17 #[doc = "Getter for the `target` field of this object."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/target)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*"]
22 pub fn target(this: &SvgaElement) -> SvgAnimatedString;
23 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = download)]
24 #[doc = "Getter for the `download` field of this object."]
25 #[doc = ""]
26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)"]
27 #[doc = ""]
28 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
29 pub fn download(this: &SvgaElement) -> ::alloc::string::String;
30 # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = download)]
31 #[doc = "Setter for the `download` field of this object."]
32 #[doc = ""]
33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/download)"]
34 #[doc = ""]
35 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
36 pub fn set_download(this: &SvgaElement, value: &str);
37 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = ping)]
38 #[doc = "Getter for the `ping` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
43 pub fn ping(this: &SvgaElement) -> ::alloc::string::String;
44 # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = ping)]
45 #[doc = "Setter for the `ping` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/ping)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
50 pub fn set_ping(this: &SvgaElement, value: &str);
51 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = rel)]
52 #[doc = "Getter for the `rel` field of this object."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
57 pub fn rel(this: &SvgaElement) -> ::alloc::string::String;
58 # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = rel)]
59 #[doc = "Setter for the `rel` field of this object."]
60 #[doc = ""]
61 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/rel)"]
62 #[doc = ""]
63 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
64 pub fn set_rel(this: &SvgaElement, value: &str);
65 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = referrerPolicy)]
66 #[doc = "Getter for the `referrerPolicy` field of this object."]
67 #[doc = ""]
68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)"]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
71 pub fn referrer_policy(this: &SvgaElement) -> ::alloc::string::String;
72 # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = referrerPolicy)]
73 #[doc = "Setter for the `referrerPolicy` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/referrerPolicy)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
78 pub fn set_referrer_policy(this: &SvgaElement, value: &str);
79 #[cfg(feature = "DomTokenList")]
80 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = relList)]
81 #[doc = "Getter for the `relList` field of this object."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/relList)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `SvgaElement`*"]
86 pub fn rel_list(this: &SvgaElement) -> DomTokenList;
87 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = hreflang)]
88 #[doc = "Getter for the `hreflang` field of this object."]
89 #[doc = ""]
90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)"]
91 #[doc = ""]
92 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
93 pub fn hreflang(this: &SvgaElement) -> ::alloc::string::String;
94 # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = hreflang)]
95 #[doc = "Setter for the `hreflang` field of this object."]
96 #[doc = ""]
97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/hreflang)"]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
100 pub fn set_hreflang(this: &SvgaElement, value: &str);
101 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = type)]
102 #[doc = "Getter for the `type` field of this object."]
103 #[doc = ""]
104 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)"]
105 #[doc = ""]
106 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
107 pub fn type_(this: &SvgaElement) -> ::alloc::string::String;
108 # [wasm_bindgen (structural , method , setter , js_class = "SVGAElement" , js_name = type)]
109 #[doc = "Setter for the `type` field of this object."]
110 #[doc = ""]
111 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/type)"]
112 #[doc = ""]
113 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
114 pub fn set_type(this: &SvgaElement, value: &str);
115 # [wasm_bindgen (structural , catch , method , getter , js_class = "SVGAElement" , js_name = text)]
116 #[doc = "Getter for the `text` field of this object."]
117 #[doc = ""]
118 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)"]
119 #[doc = ""]
120 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
121 pub fn text(this: &SvgaElement) -> Result<::alloc::string::String, JsValue>;
122 # [wasm_bindgen (structural , catch , method , setter , js_class = "SVGAElement" , js_name = text)]
123 #[doc = "Setter for the `text` field of this object."]
124 #[doc = ""]
125 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/text)"]
126 #[doc = ""]
127 #[doc = "*This API requires the following crate features to be activated: `SvgaElement`*"]
128 pub fn set_text(this: &SvgaElement, value: &str) -> Result<(), JsValue>;
129 #[cfg(feature = "SvgAnimatedString")]
130 # [wasm_bindgen (structural , method , getter , js_class = "SVGAElement" , js_name = href)]
131 #[doc = "Getter for the `href` field of this object."]
132 #[doc = ""]
133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement/href)"]
134 #[doc = ""]
135 #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgaElement`*"]
136 pub fn href(this: &SvgaElement) -> SvgAnimatedString;
137}