Skip to main content

web_sys/features/
gen_Element.rs

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