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