maxcountryman_web_sys/features/
gen_Element.rs

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