1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "Node",
9 extends = "EventTarget",
10 extends = "::js_sys::Object",
11 js_name = "Element",
12 typescript_type = "Element"
13 )]
14 #[derive(Debug, Clone, PartialEq, Eq)]
15 #[doc = "The `Element` class."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
20 pub type Element;
21 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "namespaceURI")]
22 #[doc = "Getter for the `namespaceURI` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
27 pub fn namespace_uri(this: &Element) -> Option<::alloc::string::String>;
28 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "prefix")]
29 #[doc = "Getter for the `prefix` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
34 pub fn prefix(this: &Element) -> Option<::alloc::string::String>;
35 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "localName")]
36 #[doc = "Getter for the `localName` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/localName)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
41 pub fn local_name(this: &Element) -> ::alloc::string::String;
42 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "tagName")]
43 #[doc = "Getter for the `tagName` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
48 pub fn tag_name(this: &Element) -> ::alloc::string::String;
49 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "id")]
50 #[doc = "Getter for the `id` field of this object."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
55 pub fn id(this: &Element) -> ::alloc::string::String;
56 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "id")]
57 #[doc = "Setter for the `id` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
62 pub fn set_id(this: &Element, value: &str);
63 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "className")]
64 #[doc = "Getter for the `className` field of this object."]
65 #[doc = ""]
66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)"]
67 #[doc = ""]
68 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
69 pub fn class_name(this: &Element) -> ::alloc::string::String;
70 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "className")]
71 #[doc = "Setter for the `className` field of this object."]
72 #[doc = ""]
73 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)"]
74 #[doc = ""]
75 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
76 pub fn set_class_name(this: &Element, value: &str);
77 #[cfg(feature = "DomTokenList")]
78 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "classList")]
79 #[doc = "Getter for the `classList` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `Element`*"]
84 pub fn class_list(this: &Element) -> DomTokenList;
85 #[cfg(feature = "NamedNodeMap")]
86 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "attributes")]
87 #[doc = "Getter for the `attributes` field of this object."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `Element`, `NamedNodeMap`*"]
92 pub fn attributes(this: &Element) -> NamedNodeMap;
93 #[cfg(not(web_sys_unstable_apis))]
94 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "scrollTop")]
95 #[doc = "Getter for the `scrollTop` field of this object."]
96 #[doc = ""]
97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)"]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
100 pub fn scroll_top(this: &Element) -> i32;
101 #[cfg(not(web_sys_unstable_apis))]
102 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "scrollTop")]
103 #[doc = "Setter for the `scrollTop` field of this object."]
104 #[doc = ""]
105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)"]
106 #[doc = ""]
107 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
108 pub fn set_scroll_top(this: &Element, value: i32);
109 #[cfg(not(web_sys_unstable_apis))]
110 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "scrollLeft")]
111 #[doc = "Getter for the `scrollLeft` field of this object."]
112 #[doc = ""]
113 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)"]
114 #[doc = ""]
115 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
116 pub fn scroll_left(this: &Element) -> i32;
117 #[cfg(not(web_sys_unstable_apis))]
118 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "scrollLeft")]
119 #[doc = "Setter for the `scrollLeft` field of this object."]
120 #[doc = ""]
121 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)"]
122 #[doc = ""]
123 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
124 pub fn set_scroll_left(this: &Element, value: i32);
125 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "scrollWidth")]
126 #[doc = "Getter for the `scrollWidth` field of this object."]
127 #[doc = ""]
128 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth)"]
129 #[doc = ""]
130 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
131 pub fn scroll_width(this: &Element) -> i32;
132 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "scrollHeight")]
133 #[doc = "Getter for the `scrollHeight` field of this object."]
134 #[doc = ""]
135 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight)"]
136 #[doc = ""]
137 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
138 pub fn scroll_height(this: &Element) -> i32;
139 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "clientTop")]
140 #[doc = "Getter for the `clientTop` field of this object."]
141 #[doc = ""]
142 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop)"]
143 #[doc = ""]
144 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
145 pub fn client_top(this: &Element) -> i32;
146 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "clientLeft")]
147 #[doc = "Getter for the `clientLeft` field of this object."]
148 #[doc = ""]
149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft)"]
150 #[doc = ""]
151 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
152 pub fn client_left(this: &Element) -> i32;
153 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "clientWidth")]
154 #[doc = "Getter for the `clientWidth` field of this object."]
155 #[doc = ""]
156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth)"]
157 #[doc = ""]
158 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
159 pub fn client_width(this: &Element) -> i32;
160 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "clientHeight")]
161 #[doc = "Getter for the `clientHeight` field of this object."]
162 #[doc = ""]
163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight)"]
164 #[doc = ""]
165 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
166 pub fn client_height(this: &Element) -> i32;
167 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "innerHTML")]
168 #[doc = "Getter for the `innerHTML` field of this object."]
169 #[doc = ""]
170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)"]
171 #[doc = ""]
172 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
173 pub fn inner_html(this: &Element) -> ::alloc::string::String;
174 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "innerHTML")]
175 #[doc = "Setter for the `innerHTML` field of this object."]
176 #[doc = ""]
177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)"]
178 #[doc = ""]
179 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
180 pub fn set_inner_html(this: &Element, value: &str);
181 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "outerHTML")]
182 #[doc = "Getter for the `outerHTML` field of this object."]
183 #[doc = ""]
184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)"]
185 #[doc = ""]
186 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
187 pub fn outer_html(this: &Element) -> ::alloc::string::String;
188 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "outerHTML")]
189 #[doc = "Setter for the `outerHTML` field of this object."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
194 pub fn set_outer_html(this: &Element, value: &str);
195 #[cfg(feature = "ShadowRoot")]
196 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "shadowRoot")]
197 #[doc = "Getter for the `shadowRoot` field of this object."]
198 #[doc = ""]
199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot)"]
200 #[doc = ""]
201 #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*"]
202 pub fn shadow_root(this: &Element) -> Option<ShadowRoot>;
203 #[cfg(feature = "HtmlSlotElement")]
204 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "assignedSlot")]
205 #[doc = "Getter for the `assignedSlot` field of this object."]
206 #[doc = ""]
207 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/assignedSlot)"]
208 #[doc = ""]
209 #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlSlotElement`*"]
210 pub fn assigned_slot(this: &Element) -> Option<HtmlSlotElement>;
211 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "slot")]
212 #[doc = "Getter for the `slot` field of this object."]
213 #[doc = ""]
214 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)"]
215 #[doc = ""]
216 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
217 pub fn slot(this: &Element) -> ::alloc::string::String;
218 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "slot")]
219 #[doc = "Setter for the `slot` field of this object."]
220 #[doc = ""]
221 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)"]
222 #[doc = ""]
223 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
224 pub fn set_slot(this: &Element, value: &str);
225 #[cfg(web_sys_unstable_apis)]
226 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "scrollTop")]
227 #[doc = "Getter for the `scrollTop` field of this object."]
228 #[doc = ""]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)"]
230 #[doc = ""]
231 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
232 #[doc = ""]
233 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
234 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
235 pub fn scroll_top(this: &Element) -> f64;
236 #[cfg(web_sys_unstable_apis)]
237 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "scrollTop")]
238 #[doc = "Setter for the `scrollTop` field of this object."]
239 #[doc = ""]
240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)"]
241 #[doc = ""]
242 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
243 #[doc = ""]
244 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
245 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
246 pub fn set_scroll_top(this: &Element, value: f64);
247 #[cfg(web_sys_unstable_apis)]
248 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "scrollLeft")]
249 #[doc = "Getter for the `scrollLeft` field of this object."]
250 #[doc = ""]
251 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)"]
252 #[doc = ""]
253 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
254 #[doc = ""]
255 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
256 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
257 pub fn scroll_left(this: &Element) -> f64;
258 #[cfg(web_sys_unstable_apis)]
259 #[wasm_bindgen(method, setter, js_class = "Element", js_name = "scrollLeft")]
260 #[doc = "Setter for the `scrollLeft` field of this object."]
261 #[doc = ""]
262 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)"]
263 #[doc = ""]
264 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
265 #[doc = ""]
266 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
267 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
268 pub fn set_scroll_left(this: &Element, value: f64);
269 #[wasm_bindgen(
270 method,
271 getter,
272 js_class = "Element",
273 js_name = "previousElementSibling"
274 )]
275 #[doc = "Getter for the `previousElementSibling` field of this object."]
276 #[doc = ""]
277 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/previousElementSibling)"]
278 #[doc = ""]
279 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
280 pub fn previous_element_sibling(this: &Element) -> Option<Element>;
281 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "nextElementSibling")]
282 #[doc = "Getter for the `nextElementSibling` field of this object."]
283 #[doc = ""]
284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/nextElementSibling)"]
285 #[doc = ""]
286 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
287 pub fn next_element_sibling(this: &Element) -> Option<Element>;
288 #[cfg(feature = "HtmlCollection")]
289 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "children")]
290 #[doc = "Getter for the `children` field of this object."]
291 #[doc = ""]
292 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/children)"]
293 #[doc = ""]
294 #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
295 pub fn children(this: &Element) -> HtmlCollection;
296 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "firstElementChild")]
297 #[doc = "Getter for the `firstElementChild` field of this object."]
298 #[doc = ""]
299 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild)"]
300 #[doc = ""]
301 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
302 pub fn first_element_child(this: &Element) -> Option<Element>;
303 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "lastElementChild")]
304 #[doc = "Getter for the `lastElementChild` field of this object."]
305 #[doc = ""]
306 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/lastElementChild)"]
307 #[doc = ""]
308 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
309 pub fn last_element_child(this: &Element) -> Option<Element>;
310 #[wasm_bindgen(method, getter, js_class = "Element", js_name = "childElementCount")]
311 #[doc = "Getter for the `childElementCount` field of this object."]
312 #[doc = ""]
313 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/childElementCount)"]
314 #[doc = ""]
315 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
316 pub fn child_element_count(this: &Element) -> u32;
317 #[cfg(all(feature = "ShadowRoot", feature = "ShadowRootInit",))]
318 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "attachShadow")]
319 #[doc = "The `attachShadow()` method."]
320 #[doc = ""]
321 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow)"]
322 #[doc = ""]
323 #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`, `ShadowRootInit`*"]
324 pub fn attach_shadow(
325 this: &Element,
326 shadow_root_init_dict: &ShadowRootInit,
327 ) -> Result<ShadowRoot, JsValue>;
328 #[wasm_bindgen(catch, method, js_class = "Element")]
329 #[doc = "The `closest()` method."]
330 #[doc = ""]
331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest)"]
332 #[doc = ""]
333 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
334 pub fn closest(this: &Element, selector: &str) -> Result<Option<Element>, JsValue>;
335 #[wasm_bindgen(method, js_class = "Element", js_name = "getAttribute")]
336 #[doc = "The `getAttribute()` method."]
337 #[doc = ""]
338 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute)"]
339 #[doc = ""]
340 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
341 pub fn get_attribute(this: &Element, name: &str) -> Option<::alloc::string::String>;
342 #[wasm_bindgen(method, js_class = "Element", js_name = "getAttributeNS")]
343 #[doc = "The `getAttributeNS()` method."]
344 #[doc = ""]
345 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS)"]
346 #[doc = ""]
347 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
348 pub fn get_attribute_ns(
349 this: &Element,
350 namespace: Option<&str>,
351 local_name: &str,
352 ) -> Option<::alloc::string::String>;
353 #[wasm_bindgen(method, js_class = "Element", js_name = "getAttributeNames")]
354 #[doc = "The `getAttributeNames()` method."]
355 #[doc = ""]
356 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames)"]
357 #[doc = ""]
358 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
359 pub fn get_attribute_names(this: &Element) -> ::js_sys::Array;
360 #[cfg(feature = "Attr")]
361 #[wasm_bindgen(method, js_class = "Element", js_name = "getAttributeNode")]
362 #[doc = "The `getAttributeNode()` method."]
363 #[doc = ""]
364 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode)"]
365 #[doc = ""]
366 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
367 pub fn get_attribute_node(this: &Element, name: &str) -> Option<Attr>;
368 #[cfg(feature = "Attr")]
369 #[wasm_bindgen(method, js_class = "Element", js_name = "getAttributeNodeNS")]
370 #[doc = "The `getAttributeNodeNS()` method."]
371 #[doc = ""]
372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS)"]
373 #[doc = ""]
374 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
375 pub fn get_attribute_node_ns(
376 this: &Element,
377 namespace_uri: Option<&str>,
378 local_name: &str,
379 ) -> Option<Attr>;
380 #[cfg(feature = "DomRect")]
381 #[wasm_bindgen(method, js_class = "Element", js_name = "getBoundingClientRect")]
382 #[doc = "The `getBoundingClientRect()` method."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `DomRect`, `Element`*"]
387 pub fn get_bounding_client_rect(this: &Element) -> DomRect;
388 #[cfg(feature = "DomRectList")]
389 #[wasm_bindgen(method, js_class = "Element", js_name = "getClientRects")]
390 #[doc = "The `getClientRects()` method."]
391 #[doc = ""]
392 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects)"]
393 #[doc = ""]
394 #[doc = "*This API requires the following crate features to be activated: `DomRectList`, `Element`*"]
395 pub fn get_client_rects(this: &Element) -> DomRectList;
396 #[cfg(feature = "HtmlCollection")]
397 #[wasm_bindgen(method, js_class = "Element", js_name = "getElementsByClassName")]
398 #[doc = "The `getElementsByClassName()` method."]
399 #[doc = ""]
400 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByClassName)"]
401 #[doc = ""]
402 #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
403 pub fn get_elements_by_class_name(this: &Element, class_names: &str) -> HtmlCollection;
404 #[cfg(feature = "HtmlCollection")]
405 #[wasm_bindgen(method, js_class = "Element", js_name = "getElementsByTagName")]
406 #[doc = "The `getElementsByTagName()` method."]
407 #[doc = ""]
408 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName)"]
409 #[doc = ""]
410 #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
411 pub fn get_elements_by_tag_name(this: &Element, local_name: &str) -> HtmlCollection;
412 #[cfg(feature = "HtmlCollection")]
413 #[wasm_bindgen(
414 catch,
415 method,
416 js_class = "Element",
417 js_name = "getElementsByTagNameNS"
418 )]
419 #[doc = "The `getElementsByTagNameNS()` method."]
420 #[doc = ""]
421 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagNameNS)"]
422 #[doc = ""]
423 #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*"]
424 pub fn get_elements_by_tag_name_ns(
425 this: &Element,
426 namespace: Option<&str>,
427 local_name: &str,
428 ) -> Result<HtmlCollection, JsValue>;
429 #[wasm_bindgen(method, js_class = "Element", js_name = "hasAttribute")]
430 #[doc = "The `hasAttribute()` method."]
431 #[doc = ""]
432 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute)"]
433 #[doc = ""]
434 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
435 pub fn has_attribute(this: &Element, name: &str) -> bool;
436 #[wasm_bindgen(method, js_class = "Element", js_name = "hasAttributeNS")]
437 #[doc = "The `hasAttributeNS()` method."]
438 #[doc = ""]
439 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS)"]
440 #[doc = ""]
441 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
442 pub fn has_attribute_ns(this: &Element, namespace: Option<&str>, local_name: &str) -> bool;
443 #[wasm_bindgen(method, js_class = "Element", js_name = "hasAttributes")]
444 #[doc = "The `hasAttributes()` method."]
445 #[doc = ""]
446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes)"]
447 #[doc = ""]
448 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
449 pub fn has_attributes(this: &Element) -> bool;
450 #[wasm_bindgen(method, js_class = "Element", js_name = "hasPointerCapture")]
451 #[doc = "The `hasPointerCapture()` method."]
452 #[doc = ""]
453 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture)"]
454 #[doc = ""]
455 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
456 pub fn has_pointer_capture(this: &Element, pointer_id: i32) -> bool;
457 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "insertAdjacentElement")]
458 #[doc = "The `insertAdjacentElement()` method."]
459 #[doc = ""]
460 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement)"]
461 #[doc = ""]
462 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
463 pub fn insert_adjacent_element(
464 this: &Element,
465 where_: &str,
466 element: &Element,
467 ) -> Result<Option<Element>, JsValue>;
468 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "insertAdjacentHTML")]
469 #[doc = "The `insertAdjacentHTML()` method."]
470 #[doc = ""]
471 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML)"]
472 #[doc = ""]
473 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
474 pub fn insert_adjacent_html(this: &Element, position: &str, text: &str) -> Result<(), JsValue>;
475 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "insertAdjacentText")]
476 #[doc = "The `insertAdjacentText()` method."]
477 #[doc = ""]
478 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText)"]
479 #[doc = ""]
480 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
481 pub fn insert_adjacent_text(this: &Element, where_: &str, data: &str) -> Result<(), JsValue>;
482 #[wasm_bindgen(catch, method, js_class = "Element")]
483 #[doc = "The `matches()` method."]
484 #[doc = ""]
485 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)"]
486 #[doc = ""]
487 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
488 pub fn matches(this: &Element, selector: &str) -> Result<bool, JsValue>;
489 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "querySelector")]
490 #[doc = "The `querySelector()` method."]
491 #[doc = ""]
492 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector)"]
493 #[doc = ""]
494 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
495 pub fn query_selector(this: &Element, selectors: &str) -> Result<Option<Element>, JsValue>;
496 #[cfg(feature = "NodeList")]
497 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "querySelectorAll")]
498 #[doc = "The `querySelectorAll()` method."]
499 #[doc = ""]
500 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll)"]
501 #[doc = ""]
502 #[doc = "*This API requires the following crate features to be activated: `Element`, `NodeList`*"]
503 pub fn query_selector_all(this: &Element, selectors: &str) -> Result<NodeList, JsValue>;
504 #[wasm_bindgen(method, js_class = "Element", js_name = "releaseCapture")]
505 #[doc = "The `releaseCapture()` method."]
506 #[doc = ""]
507 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releaseCapture)"]
508 #[doc = ""]
509 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
510 pub fn release_capture(this: &Element);
511 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "releasePointerCapture")]
512 #[doc = "The `releasePointerCapture()` method."]
513 #[doc = ""]
514 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture)"]
515 #[doc = ""]
516 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
517 pub fn release_pointer_capture(this: &Element, pointer_id: i32) -> Result<(), JsValue>;
518 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "removeAttribute")]
519 #[doc = "The `removeAttribute()` method."]
520 #[doc = ""]
521 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute)"]
522 #[doc = ""]
523 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
524 pub fn remove_attribute(this: &Element, name: &str) -> Result<(), JsValue>;
525 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "removeAttributeNS")]
526 #[doc = "The `removeAttributeNS()` method."]
527 #[doc = ""]
528 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS)"]
529 #[doc = ""]
530 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
531 pub fn remove_attribute_ns(
532 this: &Element,
533 namespace: Option<&str>,
534 local_name: &str,
535 ) -> Result<(), JsValue>;
536 #[cfg(feature = "Attr")]
537 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "removeAttributeNode")]
538 #[doc = "The `removeAttributeNode()` method."]
539 #[doc = ""]
540 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode)"]
541 #[doc = ""]
542 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
543 pub fn remove_attribute_node(this: &Element, old_attr: &Attr) -> Result<Option<Attr>, JsValue>;
544 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "requestFullscreen")]
545 #[doc = "The `requestFullscreen()` method."]
546 #[doc = ""]
547 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen)"]
548 #[doc = ""]
549 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
550 pub fn request_fullscreen(this: &Element) -> Result<(), JsValue>;
551 #[wasm_bindgen(method, js_class = "Element", js_name = "requestPointerLock")]
552 #[doc = "The `requestPointerLock()` method."]
553 #[doc = ""]
554 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock)"]
555 #[doc = ""]
556 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
557 pub fn request_pointer_lock(this: &Element);
558 #[wasm_bindgen(method, js_class = "Element", js_name = "scroll")]
559 #[doc = "The `scroll()` method."]
560 #[doc = ""]
561 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)"]
562 #[doc = ""]
563 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
564 pub fn scroll_with_x_and_y(this: &Element, x: f64, y: f64);
565 #[wasm_bindgen(method, js_class = "Element")]
566 #[doc = "The `scroll()` method."]
567 #[doc = ""]
568 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)"]
569 #[doc = ""]
570 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
571 pub fn scroll(this: &Element);
572 #[cfg(feature = "ScrollToOptions")]
573 #[wasm_bindgen(method, js_class = "Element", js_name = "scroll")]
574 #[doc = "The `scroll()` method."]
575 #[doc = ""]
576 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)"]
577 #[doc = ""]
578 #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*"]
579 pub fn scroll_with_scroll_to_options(this: &Element, options: &ScrollToOptions);
580 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollBy")]
581 #[doc = "The `scrollBy()` method."]
582 #[doc = ""]
583 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)"]
584 #[doc = ""]
585 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
586 pub fn scroll_by_with_x_and_y(this: &Element, x: f64, y: f64);
587 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollBy")]
588 #[doc = "The `scrollBy()` method."]
589 #[doc = ""]
590 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)"]
591 #[doc = ""]
592 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
593 pub fn scroll_by(this: &Element);
594 #[cfg(feature = "ScrollToOptions")]
595 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollBy")]
596 #[doc = "The `scrollBy()` method."]
597 #[doc = ""]
598 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)"]
599 #[doc = ""]
600 #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*"]
601 pub fn scroll_by_with_scroll_to_options(this: &Element, options: &ScrollToOptions);
602 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollIntoView")]
603 #[doc = "The `scrollIntoView()` method."]
604 #[doc = ""]
605 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)"]
606 #[doc = ""]
607 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
608 pub fn scroll_into_view(this: &Element);
609 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollIntoView")]
610 #[doc = "The `scrollIntoView()` method."]
611 #[doc = ""]
612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)"]
613 #[doc = ""]
614 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
615 pub fn scroll_into_view_with_bool(this: &Element, arg: bool);
616 #[cfg(feature = "ScrollIntoViewOptions")]
617 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollIntoView")]
618 #[doc = "The `scrollIntoView()` method."]
619 #[doc = ""]
620 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)"]
621 #[doc = ""]
622 #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollIntoViewOptions`*"]
623 pub fn scroll_into_view_with_scroll_into_view_options(
624 this: &Element,
625 arg: &ScrollIntoViewOptions,
626 );
627 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollTo")]
628 #[doc = "The `scrollTo()` method."]
629 #[doc = ""]
630 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)"]
631 #[doc = ""]
632 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
633 pub fn scroll_to_with_x_and_y(this: &Element, x: f64, y: f64);
634 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollTo")]
635 #[doc = "The `scrollTo()` method."]
636 #[doc = ""]
637 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)"]
638 #[doc = ""]
639 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
640 pub fn scroll_to(this: &Element);
641 #[cfg(feature = "ScrollToOptions")]
642 #[wasm_bindgen(method, js_class = "Element", js_name = "scrollTo")]
643 #[doc = "The `scrollTo()` method."]
644 #[doc = ""]
645 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)"]
646 #[doc = ""]
647 #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*"]
648 pub fn scroll_to_with_scroll_to_options(this: &Element, options: &ScrollToOptions);
649 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "setAttribute")]
650 #[doc = "The `setAttribute()` method."]
651 #[doc = ""]
652 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute)"]
653 #[doc = ""]
654 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
655 pub fn set_attribute(this: &Element, name: &str, value: &str) -> Result<(), JsValue>;
656 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "setAttributeNS")]
657 #[doc = "The `setAttributeNS()` method."]
658 #[doc = ""]
659 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS)"]
660 #[doc = ""]
661 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
662 pub fn set_attribute_ns(
663 this: &Element,
664 namespace: Option<&str>,
665 name: &str,
666 value: &str,
667 ) -> Result<(), JsValue>;
668 #[cfg(feature = "Attr")]
669 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "setAttributeNode")]
670 #[doc = "The `setAttributeNode()` method."]
671 #[doc = ""]
672 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode)"]
673 #[doc = ""]
674 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
675 pub fn set_attribute_node(this: &Element, new_attr: &Attr) -> Result<Option<Attr>, JsValue>;
676 #[cfg(feature = "Attr")]
677 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "setAttributeNodeNS")]
678 #[doc = "The `setAttributeNodeNS()` method."]
679 #[doc = ""]
680 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS)"]
681 #[doc = ""]
682 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*"]
683 pub fn set_attribute_node_ns(this: &Element, new_attr: &Attr) -> Result<Option<Attr>, JsValue>;
684 #[wasm_bindgen(method, js_class = "Element", js_name = "setCapture")]
685 #[doc = "The `setCapture()` method."]
686 #[doc = ""]
687 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)"]
688 #[doc = ""]
689 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
690 pub fn set_capture(this: &Element);
691 #[wasm_bindgen(method, js_class = "Element", js_name = "setCapture")]
692 #[doc = "The `setCapture()` method."]
693 #[doc = ""]
694 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)"]
695 #[doc = ""]
696 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
697 pub fn set_capture_with_retarget_to_element(this: &Element, retarget_to_element: bool);
698 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "setPointerCapture")]
699 #[doc = "The `setPointerCapture()` method."]
700 #[doc = ""]
701 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture)"]
702 #[doc = ""]
703 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
704 pub fn set_pointer_capture(this: &Element, pointer_id: i32) -> Result<(), JsValue>;
705 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "toggleAttribute")]
706 #[doc = "The `toggleAttribute()` method."]
707 #[doc = ""]
708 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)"]
709 #[doc = ""]
710 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
711 pub fn toggle_attribute(this: &Element, name: &str) -> Result<bool, JsValue>;
712 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "toggleAttribute")]
713 #[doc = "The `toggleAttribute()` method."]
714 #[doc = ""]
715 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)"]
716 #[doc = ""]
717 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
718 pub fn toggle_attribute_with_force(
719 this: &Element,
720 name: &str,
721 force: bool,
722 ) -> Result<bool, JsValue>;
723 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "webkitMatchesSelector")]
724 #[doc = "The `webkitMatchesSelector()` method."]
725 #[doc = ""]
726 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/webkitMatchesSelector)"]
727 #[doc = ""]
728 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
729 pub fn webkit_matches_selector(this: &Element, selector: &str) -> Result<bool, JsValue>;
730 #[cfg(web_sys_unstable_apis)]
731 #[cfg(feature = "Animation")]
732 #[wasm_bindgen(method, js_class = "Element")]
733 #[doc = "The `animate()` method."]
734 #[doc = ""]
735 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)"]
736 #[doc = ""]
737 #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*"]
738 #[doc = ""]
739 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
740 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
741 pub fn animate(this: &Element, keyframes: Option<&::js_sys::Object>) -> Animation;
742 #[cfg(web_sys_unstable_apis)]
743 #[cfg(feature = "Animation")]
744 #[wasm_bindgen(method, js_class = "Element", js_name = "animate")]
745 #[doc = "The `animate()` method."]
746 #[doc = ""]
747 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)"]
748 #[doc = ""]
749 #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*"]
750 #[doc = ""]
751 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
752 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
753 pub fn animate_with_f64(
754 this: &Element,
755 keyframes: Option<&::js_sys::Object>,
756 options: f64,
757 ) -> Animation;
758 #[cfg(web_sys_unstable_apis)]
759 #[cfg(all(feature = "Animation", feature = "KeyframeAnimationOptions",))]
760 #[wasm_bindgen(method, js_class = "Element", js_name = "animate")]
761 #[doc = "The `animate()` method."]
762 #[doc = ""]
763 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)"]
764 #[doc = ""]
765 #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`, `KeyframeAnimationOptions`*"]
766 #[doc = ""]
767 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
768 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
769 pub fn animate_with_keyframe_animation_options(
770 this: &Element,
771 keyframes: Option<&::js_sys::Object>,
772 options: &KeyframeAnimationOptions,
773 ) -> Animation;
774 #[cfg(web_sys_unstable_apis)]
775 #[cfg(feature = "Animation")]
776 #[wasm_bindgen(method, js_class = "Element", js_name = "getAnimations")]
777 #[doc = "The `getAnimations()` method."]
778 #[doc = ""]
779 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations)"]
780 #[doc = ""]
781 #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*"]
782 #[doc = ""]
783 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
784 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
785 pub fn get_animations(this: &Element) -> ::js_sys::Array<Animation>;
786 #[cfg(web_sys_unstable_apis)]
787 #[cfg(all(feature = "Animation", feature = "GetAnimationsOptions",))]
788 #[wasm_bindgen(method, js_class = "Element", js_name = "getAnimations")]
789 #[doc = "The `getAnimations()` method."]
790 #[doc = ""]
791 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations)"]
792 #[doc = ""]
793 #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`, `GetAnimationsOptions`*"]
794 #[doc = ""]
795 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
796 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
797 pub fn get_animations_with_options(
798 this: &Element,
799 options: &GetAnimationsOptions,
800 ) -> ::js_sys::Array<Animation>;
801 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "after")]
802 #[doc = "The `after()` method."]
803 #[doc = ""]
804 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
805 #[doc = ""]
806 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
807 pub fn after_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
808 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
809 #[doc = "The `after()` method."]
810 #[doc = ""]
811 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
812 #[doc = ""]
813 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
814 pub fn after_with_node_0(this: &Element) -> Result<(), JsValue>;
815 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
816 #[doc = "The `after()` method."]
817 #[doc = ""]
818 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
819 #[doc = ""]
820 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
821 pub fn after_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
822 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
823 #[doc = "The `after()` method."]
824 #[doc = ""]
825 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
826 #[doc = ""]
827 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
828 pub fn after_with_node_2(this: &Element, nodes_1: &Node, nodes_2: &Node)
829 -> Result<(), JsValue>;
830 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
831 #[doc = "The `after()` method."]
832 #[doc = ""]
833 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
834 #[doc = ""]
835 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
836 pub fn after_with_node_3(
837 this: &Element,
838 nodes_1: &Node,
839 nodes_2: &Node,
840 nodes_3: &Node,
841 ) -> Result<(), JsValue>;
842 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
843 #[doc = "The `after()` method."]
844 #[doc = ""]
845 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
846 #[doc = ""]
847 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
848 pub fn after_with_node_4(
849 this: &Element,
850 nodes_1: &Node,
851 nodes_2: &Node,
852 nodes_3: &Node,
853 nodes_4: &Node,
854 ) -> Result<(), JsValue>;
855 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
856 #[doc = "The `after()` method."]
857 #[doc = ""]
858 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
859 #[doc = ""]
860 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
861 pub fn after_with_node_5(
862 this: &Element,
863 nodes_1: &Node,
864 nodes_2: &Node,
865 nodes_3: &Node,
866 nodes_4: &Node,
867 nodes_5: &Node,
868 ) -> Result<(), JsValue>;
869 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
870 #[doc = "The `after()` method."]
871 #[doc = ""]
872 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
873 #[doc = ""]
874 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
875 pub fn after_with_node_6(
876 this: &Element,
877 nodes_1: &Node,
878 nodes_2: &Node,
879 nodes_3: &Node,
880 nodes_4: &Node,
881 nodes_5: &Node,
882 nodes_6: &Node,
883 ) -> Result<(), JsValue>;
884 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
885 #[doc = "The `after()` method."]
886 #[doc = ""]
887 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
888 #[doc = ""]
889 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
890 pub fn after_with_node_7(
891 this: &Element,
892 nodes_1: &Node,
893 nodes_2: &Node,
894 nodes_3: &Node,
895 nodes_4: &Node,
896 nodes_5: &Node,
897 nodes_6: &Node,
898 nodes_7: &Node,
899 ) -> Result<(), JsValue>;
900 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "after")]
901 #[doc = "The `after()` method."]
902 #[doc = ""]
903 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
904 #[doc = ""]
905 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
906 pub fn after_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
907 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
908 #[doc = "The `after()` method."]
909 #[doc = ""]
910 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
911 #[doc = ""]
912 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
913 pub fn after_with_str_0(this: &Element) -> Result<(), JsValue>;
914 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
915 #[doc = "The `after()` method."]
916 #[doc = ""]
917 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
918 #[doc = ""]
919 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
920 pub fn after_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
921 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
922 #[doc = "The `after()` method."]
923 #[doc = ""]
924 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
925 #[doc = ""]
926 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
927 pub fn after_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
928 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
929 #[doc = "The `after()` method."]
930 #[doc = ""]
931 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
932 #[doc = ""]
933 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
934 pub fn after_with_str_3(
935 this: &Element,
936 nodes_1: &str,
937 nodes_2: &str,
938 nodes_3: &str,
939 ) -> Result<(), JsValue>;
940 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
941 #[doc = "The `after()` method."]
942 #[doc = ""]
943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
944 #[doc = ""]
945 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
946 pub fn after_with_str_4(
947 this: &Element,
948 nodes_1: &str,
949 nodes_2: &str,
950 nodes_3: &str,
951 nodes_4: &str,
952 ) -> Result<(), JsValue>;
953 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
954 #[doc = "The `after()` method."]
955 #[doc = ""]
956 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
957 #[doc = ""]
958 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
959 pub fn after_with_str_5(
960 this: &Element,
961 nodes_1: &str,
962 nodes_2: &str,
963 nodes_3: &str,
964 nodes_4: &str,
965 nodes_5: &str,
966 ) -> Result<(), JsValue>;
967 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
968 #[doc = "The `after()` method."]
969 #[doc = ""]
970 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
971 #[doc = ""]
972 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
973 pub fn after_with_str_6(
974 this: &Element,
975 nodes_1: &str,
976 nodes_2: &str,
977 nodes_3: &str,
978 nodes_4: &str,
979 nodes_5: &str,
980 nodes_6: &str,
981 ) -> Result<(), JsValue>;
982 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "after")]
983 #[doc = "The `after()` method."]
984 #[doc = ""]
985 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)"]
986 #[doc = ""]
987 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
988 pub fn after_with_str_7(
989 this: &Element,
990 nodes_1: &str,
991 nodes_2: &str,
992 nodes_3: &str,
993 nodes_4: &str,
994 nodes_5: &str,
995 nodes_6: &str,
996 nodes_7: &str,
997 ) -> Result<(), JsValue>;
998 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "before")]
999 #[doc = "The `before()` method."]
1000 #[doc = ""]
1001 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1002 #[doc = ""]
1003 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1004 pub fn before_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1005 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1006 #[doc = "The `before()` method."]
1007 #[doc = ""]
1008 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1009 #[doc = ""]
1010 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1011 pub fn before_with_node_0(this: &Element) -> Result<(), JsValue>;
1012 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1013 #[doc = "The `before()` method."]
1014 #[doc = ""]
1015 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1016 #[doc = ""]
1017 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1018 pub fn before_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
1019 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1020 #[doc = "The `before()` method."]
1021 #[doc = ""]
1022 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1023 #[doc = ""]
1024 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1025 pub fn before_with_node_2(
1026 this: &Element,
1027 nodes_1: &Node,
1028 nodes_2: &Node,
1029 ) -> Result<(), JsValue>;
1030 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1031 #[doc = "The `before()` method."]
1032 #[doc = ""]
1033 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1034 #[doc = ""]
1035 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1036 pub fn before_with_node_3(
1037 this: &Element,
1038 nodes_1: &Node,
1039 nodes_2: &Node,
1040 nodes_3: &Node,
1041 ) -> Result<(), JsValue>;
1042 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1043 #[doc = "The `before()` method."]
1044 #[doc = ""]
1045 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1046 #[doc = ""]
1047 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1048 pub fn before_with_node_4(
1049 this: &Element,
1050 nodes_1: &Node,
1051 nodes_2: &Node,
1052 nodes_3: &Node,
1053 nodes_4: &Node,
1054 ) -> Result<(), JsValue>;
1055 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1056 #[doc = "The `before()` method."]
1057 #[doc = ""]
1058 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1059 #[doc = ""]
1060 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1061 pub fn before_with_node_5(
1062 this: &Element,
1063 nodes_1: &Node,
1064 nodes_2: &Node,
1065 nodes_3: &Node,
1066 nodes_4: &Node,
1067 nodes_5: &Node,
1068 ) -> Result<(), JsValue>;
1069 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1070 #[doc = "The `before()` method."]
1071 #[doc = ""]
1072 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1073 #[doc = ""]
1074 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1075 pub fn before_with_node_6(
1076 this: &Element,
1077 nodes_1: &Node,
1078 nodes_2: &Node,
1079 nodes_3: &Node,
1080 nodes_4: &Node,
1081 nodes_5: &Node,
1082 nodes_6: &Node,
1083 ) -> Result<(), JsValue>;
1084 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1085 #[doc = "The `before()` method."]
1086 #[doc = ""]
1087 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1088 #[doc = ""]
1089 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1090 pub fn before_with_node_7(
1091 this: &Element,
1092 nodes_1: &Node,
1093 nodes_2: &Node,
1094 nodes_3: &Node,
1095 nodes_4: &Node,
1096 nodes_5: &Node,
1097 nodes_6: &Node,
1098 nodes_7: &Node,
1099 ) -> Result<(), JsValue>;
1100 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "before")]
1101 #[doc = "The `before()` method."]
1102 #[doc = ""]
1103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1104 #[doc = ""]
1105 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1106 pub fn before_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1107 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1108 #[doc = "The `before()` method."]
1109 #[doc = ""]
1110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1111 #[doc = ""]
1112 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1113 pub fn before_with_str_0(this: &Element) -> Result<(), JsValue>;
1114 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1115 #[doc = "The `before()` method."]
1116 #[doc = ""]
1117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1118 #[doc = ""]
1119 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1120 pub fn before_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
1121 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1122 #[doc = "The `before()` method."]
1123 #[doc = ""]
1124 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1125 #[doc = ""]
1126 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1127 pub fn before_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
1128 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1129 #[doc = "The `before()` method."]
1130 #[doc = ""]
1131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1132 #[doc = ""]
1133 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1134 pub fn before_with_str_3(
1135 this: &Element,
1136 nodes_1: &str,
1137 nodes_2: &str,
1138 nodes_3: &str,
1139 ) -> Result<(), JsValue>;
1140 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1141 #[doc = "The `before()` method."]
1142 #[doc = ""]
1143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1144 #[doc = ""]
1145 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1146 pub fn before_with_str_4(
1147 this: &Element,
1148 nodes_1: &str,
1149 nodes_2: &str,
1150 nodes_3: &str,
1151 nodes_4: &str,
1152 ) -> Result<(), JsValue>;
1153 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1154 #[doc = "The `before()` method."]
1155 #[doc = ""]
1156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1157 #[doc = ""]
1158 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1159 pub fn before_with_str_5(
1160 this: &Element,
1161 nodes_1: &str,
1162 nodes_2: &str,
1163 nodes_3: &str,
1164 nodes_4: &str,
1165 nodes_5: &str,
1166 ) -> Result<(), JsValue>;
1167 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1168 #[doc = "The `before()` method."]
1169 #[doc = ""]
1170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1171 #[doc = ""]
1172 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1173 pub fn before_with_str_6(
1174 this: &Element,
1175 nodes_1: &str,
1176 nodes_2: &str,
1177 nodes_3: &str,
1178 nodes_4: &str,
1179 nodes_5: &str,
1180 nodes_6: &str,
1181 ) -> Result<(), JsValue>;
1182 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "before")]
1183 #[doc = "The `before()` method."]
1184 #[doc = ""]
1185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)"]
1186 #[doc = ""]
1187 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1188 pub fn before_with_str_7(
1189 this: &Element,
1190 nodes_1: &str,
1191 nodes_2: &str,
1192 nodes_3: &str,
1193 nodes_4: &str,
1194 nodes_5: &str,
1195 nodes_6: &str,
1196 nodes_7: &str,
1197 ) -> Result<(), JsValue>;
1198 #[wasm_bindgen(method, js_class = "Element")]
1199 #[doc = "The `remove()` method."]
1200 #[doc = ""]
1201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove)"]
1202 #[doc = ""]
1203 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1204 pub fn remove(this: &Element);
1205 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "replaceWith")]
1206 #[doc = "The `replaceWith()` method."]
1207 #[doc = ""]
1208 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1209 #[doc = ""]
1210 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1211 pub fn replace_with_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1212 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1213 #[doc = "The `replaceWith()` method."]
1214 #[doc = ""]
1215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1216 #[doc = ""]
1217 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1218 pub fn replace_with_with_node_0(this: &Element) -> Result<(), JsValue>;
1219 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1220 #[doc = "The `replaceWith()` method."]
1221 #[doc = ""]
1222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1223 #[doc = ""]
1224 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1225 pub fn replace_with_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
1226 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1227 #[doc = "The `replaceWith()` method."]
1228 #[doc = ""]
1229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1230 #[doc = ""]
1231 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1232 pub fn replace_with_with_node_2(
1233 this: &Element,
1234 nodes_1: &Node,
1235 nodes_2: &Node,
1236 ) -> Result<(), JsValue>;
1237 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1238 #[doc = "The `replaceWith()` method."]
1239 #[doc = ""]
1240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1241 #[doc = ""]
1242 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1243 pub fn replace_with_with_node_3(
1244 this: &Element,
1245 nodes_1: &Node,
1246 nodes_2: &Node,
1247 nodes_3: &Node,
1248 ) -> Result<(), JsValue>;
1249 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1250 #[doc = "The `replaceWith()` method."]
1251 #[doc = ""]
1252 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1253 #[doc = ""]
1254 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1255 pub fn replace_with_with_node_4(
1256 this: &Element,
1257 nodes_1: &Node,
1258 nodes_2: &Node,
1259 nodes_3: &Node,
1260 nodes_4: &Node,
1261 ) -> Result<(), JsValue>;
1262 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1263 #[doc = "The `replaceWith()` method."]
1264 #[doc = ""]
1265 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1266 #[doc = ""]
1267 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1268 pub fn replace_with_with_node_5(
1269 this: &Element,
1270 nodes_1: &Node,
1271 nodes_2: &Node,
1272 nodes_3: &Node,
1273 nodes_4: &Node,
1274 nodes_5: &Node,
1275 ) -> Result<(), JsValue>;
1276 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1277 #[doc = "The `replaceWith()` method."]
1278 #[doc = ""]
1279 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1280 #[doc = ""]
1281 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1282 pub fn replace_with_with_node_6(
1283 this: &Element,
1284 nodes_1: &Node,
1285 nodes_2: &Node,
1286 nodes_3: &Node,
1287 nodes_4: &Node,
1288 nodes_5: &Node,
1289 nodes_6: &Node,
1290 ) -> Result<(), JsValue>;
1291 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1292 #[doc = "The `replaceWith()` method."]
1293 #[doc = ""]
1294 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1295 #[doc = ""]
1296 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1297 pub fn replace_with_with_node_7(
1298 this: &Element,
1299 nodes_1: &Node,
1300 nodes_2: &Node,
1301 nodes_3: &Node,
1302 nodes_4: &Node,
1303 nodes_5: &Node,
1304 nodes_6: &Node,
1305 nodes_7: &Node,
1306 ) -> Result<(), JsValue>;
1307 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "replaceWith")]
1308 #[doc = "The `replaceWith()` method."]
1309 #[doc = ""]
1310 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1311 #[doc = ""]
1312 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1313 pub fn replace_with_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1314 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1315 #[doc = "The `replaceWith()` method."]
1316 #[doc = ""]
1317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1318 #[doc = ""]
1319 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1320 pub fn replace_with_with_str_0(this: &Element) -> Result<(), JsValue>;
1321 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1322 #[doc = "The `replaceWith()` method."]
1323 #[doc = ""]
1324 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1325 #[doc = ""]
1326 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1327 pub fn replace_with_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
1328 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1329 #[doc = "The `replaceWith()` method."]
1330 #[doc = ""]
1331 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1332 #[doc = ""]
1333 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1334 pub fn replace_with_with_str_2(
1335 this: &Element,
1336 nodes_1: &str,
1337 nodes_2: &str,
1338 ) -> Result<(), JsValue>;
1339 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1340 #[doc = "The `replaceWith()` method."]
1341 #[doc = ""]
1342 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1343 #[doc = ""]
1344 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1345 pub fn replace_with_with_str_3(
1346 this: &Element,
1347 nodes_1: &str,
1348 nodes_2: &str,
1349 nodes_3: &str,
1350 ) -> Result<(), JsValue>;
1351 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1352 #[doc = "The `replaceWith()` method."]
1353 #[doc = ""]
1354 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1355 #[doc = ""]
1356 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1357 pub fn replace_with_with_str_4(
1358 this: &Element,
1359 nodes_1: &str,
1360 nodes_2: &str,
1361 nodes_3: &str,
1362 nodes_4: &str,
1363 ) -> Result<(), JsValue>;
1364 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1365 #[doc = "The `replaceWith()` method."]
1366 #[doc = ""]
1367 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1368 #[doc = ""]
1369 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1370 pub fn replace_with_with_str_5(
1371 this: &Element,
1372 nodes_1: &str,
1373 nodes_2: &str,
1374 nodes_3: &str,
1375 nodes_4: &str,
1376 nodes_5: &str,
1377 ) -> Result<(), JsValue>;
1378 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1379 #[doc = "The `replaceWith()` method."]
1380 #[doc = ""]
1381 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1382 #[doc = ""]
1383 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1384 pub fn replace_with_with_str_6(
1385 this: &Element,
1386 nodes_1: &str,
1387 nodes_2: &str,
1388 nodes_3: &str,
1389 nodes_4: &str,
1390 nodes_5: &str,
1391 nodes_6: &str,
1392 ) -> Result<(), JsValue>;
1393 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "replaceWith")]
1394 #[doc = "The `replaceWith()` method."]
1395 #[doc = ""]
1396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)"]
1397 #[doc = ""]
1398 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1399 pub fn replace_with_with_str_7(
1400 this: &Element,
1401 nodes_1: &str,
1402 nodes_2: &str,
1403 nodes_3: &str,
1404 nodes_4: &str,
1405 nodes_5: &str,
1406 nodes_6: &str,
1407 nodes_7: &str,
1408 ) -> Result<(), JsValue>;
1409 #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Text",))]
1410 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertPointFromNode")]
1411 #[doc = "The `convertPointFromNode()` method."]
1412 #[doc = ""]
1413 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
1414 #[doc = ""]
1415 #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*"]
1416 pub fn convert_point_from_node_with_text(
1417 this: &Element,
1418 point: &DomPointInit,
1419 from: &Text,
1420 ) -> Result<DomPoint, JsValue>;
1421 #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
1422 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertPointFromNode")]
1423 #[doc = "The `convertPointFromNode()` method."]
1424 #[doc = ""]
1425 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
1426 #[doc = ""]
1427 #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`*"]
1428 pub fn convert_point_from_node_with_element(
1429 this: &Element,
1430 point: &DomPointInit,
1431 from: &Element,
1432 ) -> Result<DomPoint, JsValue>;
1433 #[cfg(all(feature = "Document", feature = "DomPoint", feature = "DomPointInit",))]
1434 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertPointFromNode")]
1435 #[doc = "The `convertPointFromNode()` method."]
1436 #[doc = ""]
1437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
1438 #[doc = ""]
1439 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
1440 pub fn convert_point_from_node_with_document(
1441 this: &Element,
1442 point: &DomPointInit,
1443 from: &Document,
1444 ) -> Result<DomPoint, JsValue>;
1445 #[cfg(all(
1446 feature = "ConvertCoordinateOptions",
1447 feature = "DomPoint",
1448 feature = "DomPointInit",
1449 feature = "Text",
1450 ))]
1451 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertPointFromNode")]
1452 #[doc = "The `convertPointFromNode()` method."]
1453 #[doc = ""]
1454 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
1455 #[doc = ""]
1456 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*"]
1457 pub fn convert_point_from_node_with_text_and_options(
1458 this: &Element,
1459 point: &DomPointInit,
1460 from: &Text,
1461 options: &ConvertCoordinateOptions,
1462 ) -> Result<DomPoint, JsValue>;
1463 #[cfg(all(
1464 feature = "ConvertCoordinateOptions",
1465 feature = "DomPoint",
1466 feature = "DomPointInit",
1467 ))]
1468 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertPointFromNode")]
1469 #[doc = "The `convertPointFromNode()` method."]
1470 #[doc = ""]
1471 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
1472 #[doc = ""]
1473 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`*"]
1474 pub fn convert_point_from_node_with_element_and_options(
1475 this: &Element,
1476 point: &DomPointInit,
1477 from: &Element,
1478 options: &ConvertCoordinateOptions,
1479 ) -> Result<DomPoint, JsValue>;
1480 #[cfg(all(
1481 feature = "ConvertCoordinateOptions",
1482 feature = "Document",
1483 feature = "DomPoint",
1484 feature = "DomPointInit",
1485 ))]
1486 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertPointFromNode")]
1487 #[doc = "The `convertPointFromNode()` method."]
1488 #[doc = ""]
1489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)"]
1490 #[doc = ""]
1491 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
1492 pub fn convert_point_from_node_with_document_and_options(
1493 this: &Element,
1494 point: &DomPointInit,
1495 from: &Document,
1496 options: &ConvertCoordinateOptions,
1497 ) -> Result<DomPoint, JsValue>;
1498 #[cfg(all(feature = "DomQuad", feature = "Text",))]
1499 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertQuadFromNode")]
1500 #[doc = "The `convertQuadFromNode()` method."]
1501 #[doc = ""]
1502 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
1503 #[doc = ""]
1504 #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*"]
1505 pub fn convert_quad_from_node_with_text(
1506 this: &Element,
1507 quad: &DomQuad,
1508 from: &Text,
1509 ) -> Result<DomQuad, JsValue>;
1510 #[cfg(feature = "DomQuad")]
1511 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertQuadFromNode")]
1512 #[doc = "The `convertQuadFromNode()` method."]
1513 #[doc = ""]
1514 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
1515 #[doc = ""]
1516 #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`*"]
1517 pub fn convert_quad_from_node_with_element(
1518 this: &Element,
1519 quad: &DomQuad,
1520 from: &Element,
1521 ) -> Result<DomQuad, JsValue>;
1522 #[cfg(all(feature = "Document", feature = "DomQuad",))]
1523 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertQuadFromNode")]
1524 #[doc = "The `convertQuadFromNode()` method."]
1525 #[doc = ""]
1526 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
1527 #[doc = ""]
1528 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*"]
1529 pub fn convert_quad_from_node_with_document(
1530 this: &Element,
1531 quad: &DomQuad,
1532 from: &Document,
1533 ) -> Result<DomQuad, JsValue>;
1534 #[cfg(all(
1535 feature = "ConvertCoordinateOptions",
1536 feature = "DomQuad",
1537 feature = "Text",
1538 ))]
1539 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertQuadFromNode")]
1540 #[doc = "The `convertQuadFromNode()` method."]
1541 #[doc = ""]
1542 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
1543 #[doc = ""]
1544 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*"]
1545 pub fn convert_quad_from_node_with_text_and_options(
1546 this: &Element,
1547 quad: &DomQuad,
1548 from: &Text,
1549 options: &ConvertCoordinateOptions,
1550 ) -> Result<DomQuad, JsValue>;
1551 #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))]
1552 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertQuadFromNode")]
1553 #[doc = "The `convertQuadFromNode()` method."]
1554 #[doc = ""]
1555 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
1556 #[doc = ""]
1557 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`*"]
1558 pub fn convert_quad_from_node_with_element_and_options(
1559 this: &Element,
1560 quad: &DomQuad,
1561 from: &Element,
1562 options: &ConvertCoordinateOptions,
1563 ) -> Result<DomQuad, JsValue>;
1564 #[cfg(all(
1565 feature = "ConvertCoordinateOptions",
1566 feature = "Document",
1567 feature = "DomQuad",
1568 ))]
1569 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertQuadFromNode")]
1570 #[doc = "The `convertQuadFromNode()` method."]
1571 #[doc = ""]
1572 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)"]
1573 #[doc = ""]
1574 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*"]
1575 pub fn convert_quad_from_node_with_document_and_options(
1576 this: &Element,
1577 quad: &DomQuad,
1578 from: &Document,
1579 options: &ConvertCoordinateOptions,
1580 ) -> Result<DomQuad, JsValue>;
1581 #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))]
1582 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertRectFromNode")]
1583 #[doc = "The `convertRectFromNode()` method."]
1584 #[doc = ""]
1585 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
1586 #[doc = ""]
1587 #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*"]
1588 pub fn convert_rect_from_node_with_text(
1589 this: &Element,
1590 rect: &DomRectReadOnly,
1591 from: &Text,
1592 ) -> Result<DomQuad, JsValue>;
1593 #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))]
1594 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertRectFromNode")]
1595 #[doc = "The `convertRectFromNode()` method."]
1596 #[doc = ""]
1597 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
1598 #[doc = ""]
1599 #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`*"]
1600 pub fn convert_rect_from_node_with_element(
1601 this: &Element,
1602 rect: &DomRectReadOnly,
1603 from: &Element,
1604 ) -> Result<DomQuad, JsValue>;
1605 #[cfg(all(feature = "Document", feature = "DomQuad", feature = "DomRectReadOnly",))]
1606 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertRectFromNode")]
1607 #[doc = "The `convertRectFromNode()` method."]
1608 #[doc = ""]
1609 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
1610 #[doc = ""]
1611 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
1612 pub fn convert_rect_from_node_with_document(
1613 this: &Element,
1614 rect: &DomRectReadOnly,
1615 from: &Document,
1616 ) -> Result<DomQuad, JsValue>;
1617 #[cfg(all(
1618 feature = "ConvertCoordinateOptions",
1619 feature = "DomQuad",
1620 feature = "DomRectReadOnly",
1621 feature = "Text",
1622 ))]
1623 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertRectFromNode")]
1624 #[doc = "The `convertRectFromNode()` method."]
1625 #[doc = ""]
1626 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
1627 #[doc = ""]
1628 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*"]
1629 pub fn convert_rect_from_node_with_text_and_options(
1630 this: &Element,
1631 rect: &DomRectReadOnly,
1632 from: &Text,
1633 options: &ConvertCoordinateOptions,
1634 ) -> Result<DomQuad, JsValue>;
1635 #[cfg(all(
1636 feature = "ConvertCoordinateOptions",
1637 feature = "DomQuad",
1638 feature = "DomRectReadOnly",
1639 ))]
1640 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertRectFromNode")]
1641 #[doc = "The `convertRectFromNode()` method."]
1642 #[doc = ""]
1643 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
1644 #[doc = ""]
1645 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
1646 pub fn convert_rect_from_node_with_element_and_options(
1647 this: &Element,
1648 rect: &DomRectReadOnly,
1649 from: &Element,
1650 options: &ConvertCoordinateOptions,
1651 ) -> Result<DomQuad, JsValue>;
1652 #[cfg(all(
1653 feature = "ConvertCoordinateOptions",
1654 feature = "Document",
1655 feature = "DomQuad",
1656 feature = "DomRectReadOnly",
1657 ))]
1658 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "convertRectFromNode")]
1659 #[doc = "The `convertRectFromNode()` method."]
1660 #[doc = ""]
1661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)"]
1662 #[doc = ""]
1663 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
1664 pub fn convert_rect_from_node_with_document_and_options(
1665 this: &Element,
1666 rect: &DomRectReadOnly,
1667 from: &Document,
1668 options: &ConvertCoordinateOptions,
1669 ) -> Result<DomQuad, JsValue>;
1670 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "getBoxQuads")]
1671 #[doc = "The `getBoxQuads()` method."]
1672 #[doc = ""]
1673 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoxQuads)"]
1674 #[doc = ""]
1675 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1676 pub fn get_box_quads(this: &Element) -> Result<::js_sys::Array, JsValue>;
1677 #[cfg(feature = "BoxQuadOptions")]
1678 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "getBoxQuads")]
1679 #[doc = "The `getBoxQuads()` method."]
1680 #[doc = ""]
1681 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoxQuads)"]
1682 #[doc = ""]
1683 #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Element`*"]
1684 pub fn get_box_quads_with_options(
1685 this: &Element,
1686 options: &BoxQuadOptions,
1687 ) -> Result<::js_sys::Array, JsValue>;
1688 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "append")]
1689 #[doc = "The `append()` method."]
1690 #[doc = ""]
1691 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1692 #[doc = ""]
1693 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1694 pub fn append_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1695 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1696 #[doc = "The `append()` method."]
1697 #[doc = ""]
1698 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1699 #[doc = ""]
1700 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1701 pub fn append_with_node_0(this: &Element) -> Result<(), JsValue>;
1702 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1703 #[doc = "The `append()` method."]
1704 #[doc = ""]
1705 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1706 #[doc = ""]
1707 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1708 pub fn append_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
1709 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1710 #[doc = "The `append()` method."]
1711 #[doc = ""]
1712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1713 #[doc = ""]
1714 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1715 pub fn append_with_node_2(
1716 this: &Element,
1717 nodes_1: &Node,
1718 nodes_2: &Node,
1719 ) -> Result<(), JsValue>;
1720 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1721 #[doc = "The `append()` method."]
1722 #[doc = ""]
1723 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1724 #[doc = ""]
1725 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1726 pub fn append_with_node_3(
1727 this: &Element,
1728 nodes_1: &Node,
1729 nodes_2: &Node,
1730 nodes_3: &Node,
1731 ) -> Result<(), JsValue>;
1732 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1733 #[doc = "The `append()` method."]
1734 #[doc = ""]
1735 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1736 #[doc = ""]
1737 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1738 pub fn append_with_node_4(
1739 this: &Element,
1740 nodes_1: &Node,
1741 nodes_2: &Node,
1742 nodes_3: &Node,
1743 nodes_4: &Node,
1744 ) -> Result<(), JsValue>;
1745 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1746 #[doc = "The `append()` method."]
1747 #[doc = ""]
1748 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1749 #[doc = ""]
1750 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1751 pub fn append_with_node_5(
1752 this: &Element,
1753 nodes_1: &Node,
1754 nodes_2: &Node,
1755 nodes_3: &Node,
1756 nodes_4: &Node,
1757 nodes_5: &Node,
1758 ) -> Result<(), JsValue>;
1759 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1760 #[doc = "The `append()` method."]
1761 #[doc = ""]
1762 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1763 #[doc = ""]
1764 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1765 pub fn append_with_node_6(
1766 this: &Element,
1767 nodes_1: &Node,
1768 nodes_2: &Node,
1769 nodes_3: &Node,
1770 nodes_4: &Node,
1771 nodes_5: &Node,
1772 nodes_6: &Node,
1773 ) -> Result<(), JsValue>;
1774 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1775 #[doc = "The `append()` method."]
1776 #[doc = ""]
1777 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1778 #[doc = ""]
1779 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1780 pub fn append_with_node_7(
1781 this: &Element,
1782 nodes_1: &Node,
1783 nodes_2: &Node,
1784 nodes_3: &Node,
1785 nodes_4: &Node,
1786 nodes_5: &Node,
1787 nodes_6: &Node,
1788 nodes_7: &Node,
1789 ) -> Result<(), JsValue>;
1790 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "append")]
1791 #[doc = "The `append()` method."]
1792 #[doc = ""]
1793 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1794 #[doc = ""]
1795 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1796 pub fn append_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1797 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1798 #[doc = "The `append()` method."]
1799 #[doc = ""]
1800 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1801 #[doc = ""]
1802 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1803 pub fn append_with_str_0(this: &Element) -> Result<(), JsValue>;
1804 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1805 #[doc = "The `append()` method."]
1806 #[doc = ""]
1807 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1808 #[doc = ""]
1809 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1810 pub fn append_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
1811 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1812 #[doc = "The `append()` method."]
1813 #[doc = ""]
1814 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1815 #[doc = ""]
1816 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1817 pub fn append_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
1818 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1819 #[doc = "The `append()` method."]
1820 #[doc = ""]
1821 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1822 #[doc = ""]
1823 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1824 pub fn append_with_str_3(
1825 this: &Element,
1826 nodes_1: &str,
1827 nodes_2: &str,
1828 nodes_3: &str,
1829 ) -> Result<(), JsValue>;
1830 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1831 #[doc = "The `append()` method."]
1832 #[doc = ""]
1833 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1834 #[doc = ""]
1835 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1836 pub fn append_with_str_4(
1837 this: &Element,
1838 nodes_1: &str,
1839 nodes_2: &str,
1840 nodes_3: &str,
1841 nodes_4: &str,
1842 ) -> Result<(), JsValue>;
1843 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1844 #[doc = "The `append()` method."]
1845 #[doc = ""]
1846 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1847 #[doc = ""]
1848 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1849 pub fn append_with_str_5(
1850 this: &Element,
1851 nodes_1: &str,
1852 nodes_2: &str,
1853 nodes_3: &str,
1854 nodes_4: &str,
1855 nodes_5: &str,
1856 ) -> Result<(), JsValue>;
1857 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1858 #[doc = "The `append()` method."]
1859 #[doc = ""]
1860 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1861 #[doc = ""]
1862 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1863 pub fn append_with_str_6(
1864 this: &Element,
1865 nodes_1: &str,
1866 nodes_2: &str,
1867 nodes_3: &str,
1868 nodes_4: &str,
1869 nodes_5: &str,
1870 nodes_6: &str,
1871 ) -> Result<(), JsValue>;
1872 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "append")]
1873 #[doc = "The `append()` method."]
1874 #[doc = ""]
1875 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)"]
1876 #[doc = ""]
1877 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1878 pub fn append_with_str_7(
1879 this: &Element,
1880 nodes_1: &str,
1881 nodes_2: &str,
1882 nodes_3: &str,
1883 nodes_4: &str,
1884 nodes_5: &str,
1885 nodes_6: &str,
1886 nodes_7: &str,
1887 ) -> Result<(), JsValue>;
1888 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "prepend")]
1889 #[doc = "The `prepend()` method."]
1890 #[doc = ""]
1891 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1892 #[doc = ""]
1893 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1894 pub fn prepend_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1895 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1896 #[doc = "The `prepend()` method."]
1897 #[doc = ""]
1898 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1899 #[doc = ""]
1900 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1901 pub fn prepend_with_node_0(this: &Element) -> Result<(), JsValue>;
1902 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1903 #[doc = "The `prepend()` method."]
1904 #[doc = ""]
1905 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1906 #[doc = ""]
1907 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1908 pub fn prepend_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>;
1909 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1910 #[doc = "The `prepend()` method."]
1911 #[doc = ""]
1912 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1913 #[doc = ""]
1914 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1915 pub fn prepend_with_node_2(
1916 this: &Element,
1917 nodes_1: &Node,
1918 nodes_2: &Node,
1919 ) -> Result<(), JsValue>;
1920 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1921 #[doc = "The `prepend()` method."]
1922 #[doc = ""]
1923 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1924 #[doc = ""]
1925 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1926 pub fn prepend_with_node_3(
1927 this: &Element,
1928 nodes_1: &Node,
1929 nodes_2: &Node,
1930 nodes_3: &Node,
1931 ) -> Result<(), JsValue>;
1932 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1933 #[doc = "The `prepend()` method."]
1934 #[doc = ""]
1935 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1936 #[doc = ""]
1937 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1938 pub fn prepend_with_node_4(
1939 this: &Element,
1940 nodes_1: &Node,
1941 nodes_2: &Node,
1942 nodes_3: &Node,
1943 nodes_4: &Node,
1944 ) -> Result<(), JsValue>;
1945 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1946 #[doc = "The `prepend()` method."]
1947 #[doc = ""]
1948 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1949 #[doc = ""]
1950 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1951 pub fn prepend_with_node_5(
1952 this: &Element,
1953 nodes_1: &Node,
1954 nodes_2: &Node,
1955 nodes_3: &Node,
1956 nodes_4: &Node,
1957 nodes_5: &Node,
1958 ) -> Result<(), JsValue>;
1959 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1960 #[doc = "The `prepend()` method."]
1961 #[doc = ""]
1962 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1963 #[doc = ""]
1964 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1965 pub fn prepend_with_node_6(
1966 this: &Element,
1967 nodes_1: &Node,
1968 nodes_2: &Node,
1969 nodes_3: &Node,
1970 nodes_4: &Node,
1971 nodes_5: &Node,
1972 nodes_6: &Node,
1973 ) -> Result<(), JsValue>;
1974 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1975 #[doc = "The `prepend()` method."]
1976 #[doc = ""]
1977 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1978 #[doc = ""]
1979 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1980 pub fn prepend_with_node_7(
1981 this: &Element,
1982 nodes_1: &Node,
1983 nodes_2: &Node,
1984 nodes_3: &Node,
1985 nodes_4: &Node,
1986 nodes_5: &Node,
1987 nodes_6: &Node,
1988 nodes_7: &Node,
1989 ) -> Result<(), JsValue>;
1990 #[wasm_bindgen(catch, method, variadic, js_class = "Element", js_name = "prepend")]
1991 #[doc = "The `prepend()` method."]
1992 #[doc = ""]
1993 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
1994 #[doc = ""]
1995 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
1996 pub fn prepend_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>;
1997 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
1998 #[doc = "The `prepend()` method."]
1999 #[doc = ""]
2000 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2001 #[doc = ""]
2002 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2003 pub fn prepend_with_str_0(this: &Element) -> Result<(), JsValue>;
2004 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2005 #[doc = "The `prepend()` method."]
2006 #[doc = ""]
2007 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2008 #[doc = ""]
2009 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2010 pub fn prepend_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>;
2011 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2012 #[doc = "The `prepend()` method."]
2013 #[doc = ""]
2014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2015 #[doc = ""]
2016 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2017 pub fn prepend_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
2018 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2019 #[doc = "The `prepend()` method."]
2020 #[doc = ""]
2021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2022 #[doc = ""]
2023 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2024 pub fn prepend_with_str_3(
2025 this: &Element,
2026 nodes_1: &str,
2027 nodes_2: &str,
2028 nodes_3: &str,
2029 ) -> Result<(), JsValue>;
2030 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2031 #[doc = "The `prepend()` method."]
2032 #[doc = ""]
2033 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2034 #[doc = ""]
2035 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2036 pub fn prepend_with_str_4(
2037 this: &Element,
2038 nodes_1: &str,
2039 nodes_2: &str,
2040 nodes_3: &str,
2041 nodes_4: &str,
2042 ) -> Result<(), JsValue>;
2043 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2044 #[doc = "The `prepend()` method."]
2045 #[doc = ""]
2046 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2047 #[doc = ""]
2048 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2049 pub fn prepend_with_str_5(
2050 this: &Element,
2051 nodes_1: &str,
2052 nodes_2: &str,
2053 nodes_3: &str,
2054 nodes_4: &str,
2055 nodes_5: &str,
2056 ) -> Result<(), JsValue>;
2057 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2058 #[doc = "The `prepend()` method."]
2059 #[doc = ""]
2060 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2061 #[doc = ""]
2062 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2063 pub fn prepend_with_str_6(
2064 this: &Element,
2065 nodes_1: &str,
2066 nodes_2: &str,
2067 nodes_3: &str,
2068 nodes_4: &str,
2069 nodes_5: &str,
2070 nodes_6: &str,
2071 ) -> Result<(), JsValue>;
2072 #[wasm_bindgen(catch, method, js_class = "Element", js_name = "prepend")]
2073 #[doc = "The `prepend()` method."]
2074 #[doc = ""]
2075 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)"]
2076 #[doc = ""]
2077 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2078 pub fn prepend_with_str_7(
2079 this: &Element,
2080 nodes_1: &str,
2081 nodes_2: &str,
2082 nodes_3: &str,
2083 nodes_4: &str,
2084 nodes_5: &str,
2085 nodes_6: &str,
2086 nodes_7: &str,
2087 ) -> Result<(), JsValue>;
2088 #[wasm_bindgen(method, variadic, js_class = "Element", js_name = "replaceChildren")]
2089 #[doc = "The `replaceChildren()` method."]
2090 #[doc = ""]
2091 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2092 #[doc = ""]
2093 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2094 pub fn replace_children_with_node(this: &Element, nodes: &::js_sys::Array);
2095 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2096 #[doc = "The `replaceChildren()` method."]
2097 #[doc = ""]
2098 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2099 #[doc = ""]
2100 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2101 pub fn replace_children_with_node_0(this: &Element);
2102 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2103 #[doc = "The `replaceChildren()` method."]
2104 #[doc = ""]
2105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2106 #[doc = ""]
2107 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2108 pub fn replace_children_with_node_1(this: &Element, nodes_1: &Node);
2109 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2110 #[doc = "The `replaceChildren()` method."]
2111 #[doc = ""]
2112 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2113 #[doc = ""]
2114 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2115 pub fn replace_children_with_node_2(this: &Element, nodes_1: &Node, nodes_2: &Node);
2116 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2117 #[doc = "The `replaceChildren()` method."]
2118 #[doc = ""]
2119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2120 #[doc = ""]
2121 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2122 pub fn replace_children_with_node_3(
2123 this: &Element,
2124 nodes_1: &Node,
2125 nodes_2: &Node,
2126 nodes_3: &Node,
2127 );
2128 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2129 #[doc = "The `replaceChildren()` method."]
2130 #[doc = ""]
2131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2132 #[doc = ""]
2133 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2134 pub fn replace_children_with_node_4(
2135 this: &Element,
2136 nodes_1: &Node,
2137 nodes_2: &Node,
2138 nodes_3: &Node,
2139 nodes_4: &Node,
2140 );
2141 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2142 #[doc = "The `replaceChildren()` method."]
2143 #[doc = ""]
2144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2145 #[doc = ""]
2146 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2147 pub fn replace_children_with_node_5(
2148 this: &Element,
2149 nodes_1: &Node,
2150 nodes_2: &Node,
2151 nodes_3: &Node,
2152 nodes_4: &Node,
2153 nodes_5: &Node,
2154 );
2155 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2156 #[doc = "The `replaceChildren()` method."]
2157 #[doc = ""]
2158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2159 #[doc = ""]
2160 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2161 pub fn replace_children_with_node_6(
2162 this: &Element,
2163 nodes_1: &Node,
2164 nodes_2: &Node,
2165 nodes_3: &Node,
2166 nodes_4: &Node,
2167 nodes_5: &Node,
2168 nodes_6: &Node,
2169 );
2170 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2171 #[doc = "The `replaceChildren()` method."]
2172 #[doc = ""]
2173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2174 #[doc = ""]
2175 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2176 pub fn replace_children_with_node_7(
2177 this: &Element,
2178 nodes_1: &Node,
2179 nodes_2: &Node,
2180 nodes_3: &Node,
2181 nodes_4: &Node,
2182 nodes_5: &Node,
2183 nodes_6: &Node,
2184 nodes_7: &Node,
2185 );
2186 #[wasm_bindgen(method, variadic, js_class = "Element", js_name = "replaceChildren")]
2187 #[doc = "The `replaceChildren()` method."]
2188 #[doc = ""]
2189 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2190 #[doc = ""]
2191 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2192 pub fn replace_children_with_str(this: &Element, nodes: &::js_sys::Array);
2193 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2194 #[doc = "The `replaceChildren()` method."]
2195 #[doc = ""]
2196 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2197 #[doc = ""]
2198 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2199 pub fn replace_children_with_str_0(this: &Element);
2200 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2201 #[doc = "The `replaceChildren()` method."]
2202 #[doc = ""]
2203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2204 #[doc = ""]
2205 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2206 pub fn replace_children_with_str_1(this: &Element, nodes_1: &str);
2207 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2208 #[doc = "The `replaceChildren()` method."]
2209 #[doc = ""]
2210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2211 #[doc = ""]
2212 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2213 pub fn replace_children_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str);
2214 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2215 #[doc = "The `replaceChildren()` method."]
2216 #[doc = ""]
2217 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2218 #[doc = ""]
2219 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2220 pub fn replace_children_with_str_3(this: &Element, nodes_1: &str, nodes_2: &str, nodes_3: &str);
2221 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2222 #[doc = "The `replaceChildren()` method."]
2223 #[doc = ""]
2224 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2225 #[doc = ""]
2226 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2227 pub fn replace_children_with_str_4(
2228 this: &Element,
2229 nodes_1: &str,
2230 nodes_2: &str,
2231 nodes_3: &str,
2232 nodes_4: &str,
2233 );
2234 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2235 #[doc = "The `replaceChildren()` method."]
2236 #[doc = ""]
2237 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2238 #[doc = ""]
2239 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2240 pub fn replace_children_with_str_5(
2241 this: &Element,
2242 nodes_1: &str,
2243 nodes_2: &str,
2244 nodes_3: &str,
2245 nodes_4: &str,
2246 nodes_5: &str,
2247 );
2248 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2249 #[doc = "The `replaceChildren()` method."]
2250 #[doc = ""]
2251 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2252 #[doc = ""]
2253 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2254 pub fn replace_children_with_str_6(
2255 this: &Element,
2256 nodes_1: &str,
2257 nodes_2: &str,
2258 nodes_3: &str,
2259 nodes_4: &str,
2260 nodes_5: &str,
2261 nodes_6: &str,
2262 );
2263 #[wasm_bindgen(method, js_class = "Element", js_name = "replaceChildren")]
2264 #[doc = "The `replaceChildren()` method."]
2265 #[doc = ""]
2266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)"]
2267 #[doc = ""]
2268 #[doc = "*This API requires the following crate features to be activated: `Element`*"]
2269 pub fn replace_children_with_str_7(
2270 this: &Element,
2271 nodes_1: &str,
2272 nodes_2: &str,
2273 nodes_3: &str,
2274 nodes_4: &str,
2275 nodes_5: &str,
2276 nodes_6: &str,
2277 nodes_7: &str,
2278 );
2279}