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