Skip to main content

web_sys/features/
gen_DocumentFragment.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "Node",
9        extends = "EventTarget",
10        extends = "::js_sys::Object",
11        js_name = "DocumentFragment",
12        typescript_type = "DocumentFragment"
13    )]
14    #[derive(Debug, Clone, PartialEq, Eq)]
15    #[doc = "The `DocumentFragment` class."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
20    pub type DocumentFragment;
21    #[cfg(feature = "HtmlCollection")]
22    #[wasm_bindgen(method, getter, js_class = "DocumentFragment", js_name = "children")]
23    #[doc = "Getter for the `children` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/children)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `HtmlCollection`*"]
28    pub fn children(this: &DocumentFragment) -> HtmlCollection;
29    #[cfg(feature = "Element")]
30    #[wasm_bindgen(
31        method,
32        getter,
33        js_class = "DocumentFragment",
34        js_name = "firstElementChild"
35    )]
36    #[doc = "Getter for the `firstElementChild` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/firstElementChild)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
41    pub fn first_element_child(this: &DocumentFragment) -> Option<Element>;
42    #[cfg(feature = "Element")]
43    #[wasm_bindgen(
44        method,
45        getter,
46        js_class = "DocumentFragment",
47        js_name = "lastElementChild"
48    )]
49    #[doc = "Getter for the `lastElementChild` field of this object."]
50    #[doc = ""]
51    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/lastElementChild)"]
52    #[doc = ""]
53    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
54    pub fn last_element_child(this: &DocumentFragment) -> Option<Element>;
55    #[wasm_bindgen(
56        method,
57        getter,
58        js_class = "DocumentFragment",
59        js_name = "childElementCount"
60    )]
61    #[doc = "Getter for the `childElementCount` field of this object."]
62    #[doc = ""]
63    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/childElementCount)"]
64    #[doc = ""]
65    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
66    pub fn child_element_count(this: &DocumentFragment) -> u32;
67    #[wasm_bindgen(catch, constructor, js_class = "DocumentFragment")]
68    #[doc = "The `new DocumentFragment(..)` constructor, creating a new instance of `DocumentFragment`."]
69    #[doc = ""]
70    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/DocumentFragment)"]
71    #[doc = ""]
72    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
73    pub fn new() -> Result<DocumentFragment, JsValue>;
74    #[cfg(feature = "Element")]
75    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "getElementById")]
76    #[doc = "The `getElementById()` method."]
77    #[doc = ""]
78    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/getElementById)"]
79    #[doc = ""]
80    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
81    pub fn get_element_by_id(this: &DocumentFragment, element_id: &str) -> Option<Element>;
82    #[cfg(feature = "Element")]
83    #[wasm_bindgen(
84        catch,
85        method,
86        js_class = "DocumentFragment",
87        js_name = "querySelector"
88    )]
89    #[doc = "The `querySelector()` method."]
90    #[doc = ""]
91    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelector)"]
92    #[doc = ""]
93    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `Element`*"]
94    pub fn query_selector(
95        this: &DocumentFragment,
96        selectors: &str,
97    ) -> Result<Option<Element>, JsValue>;
98    #[cfg(feature = "NodeList")]
99    #[wasm_bindgen(
100        catch,
101        method,
102        js_class = "DocumentFragment",
103        js_name = "querySelectorAll"
104    )]
105    #[doc = "The `querySelectorAll()` method."]
106    #[doc = ""]
107    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/querySelectorAll)"]
108    #[doc = ""]
109    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`, `NodeList`*"]
110    pub fn query_selector_all(
111        this: &DocumentFragment,
112        selectors: &str,
113    ) -> Result<NodeList, JsValue>;
114    #[wasm_bindgen(
115        catch,
116        method,
117        variadic,
118        js_class = "DocumentFragment",
119        js_name = "append"
120    )]
121    #[doc = "The `append()` method."]
122    #[doc = ""]
123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
124    #[doc = ""]
125    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
126    pub fn append_with_node(
127        this: &DocumentFragment,
128        nodes: &::js_sys::Array,
129    ) -> Result<(), JsValue>;
130    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
131    #[doc = "The `append()` method."]
132    #[doc = ""]
133    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
134    #[doc = ""]
135    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
136    pub fn append_with_node_0(this: &DocumentFragment) -> Result<(), JsValue>;
137    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
138    #[doc = "The `append()` method."]
139    #[doc = ""]
140    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
141    #[doc = ""]
142    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
143    pub fn append_with_node_1(this: &DocumentFragment, nodes_1: &Node) -> Result<(), JsValue>;
144    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
145    #[doc = "The `append()` method."]
146    #[doc = ""]
147    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
148    #[doc = ""]
149    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
150    pub fn append_with_node_2(
151        this: &DocumentFragment,
152        nodes_1: &Node,
153        nodes_2: &Node,
154    ) -> Result<(), JsValue>;
155    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
156    #[doc = "The `append()` method."]
157    #[doc = ""]
158    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
159    #[doc = ""]
160    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
161    pub fn append_with_node_3(
162        this: &DocumentFragment,
163        nodes_1: &Node,
164        nodes_2: &Node,
165        nodes_3: &Node,
166    ) -> Result<(), JsValue>;
167    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
168    #[doc = "The `append()` method."]
169    #[doc = ""]
170    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
171    #[doc = ""]
172    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
173    pub fn append_with_node_4(
174        this: &DocumentFragment,
175        nodes_1: &Node,
176        nodes_2: &Node,
177        nodes_3: &Node,
178        nodes_4: &Node,
179    ) -> Result<(), JsValue>;
180    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
181    #[doc = "The `append()` method."]
182    #[doc = ""]
183    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
184    #[doc = ""]
185    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
186    pub fn append_with_node_5(
187        this: &DocumentFragment,
188        nodes_1: &Node,
189        nodes_2: &Node,
190        nodes_3: &Node,
191        nodes_4: &Node,
192        nodes_5: &Node,
193    ) -> Result<(), JsValue>;
194    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
195    #[doc = "The `append()` method."]
196    #[doc = ""]
197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
198    #[doc = ""]
199    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
200    pub fn append_with_node_6(
201        this: &DocumentFragment,
202        nodes_1: &Node,
203        nodes_2: &Node,
204        nodes_3: &Node,
205        nodes_4: &Node,
206        nodes_5: &Node,
207        nodes_6: &Node,
208    ) -> Result<(), JsValue>;
209    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
210    #[doc = "The `append()` method."]
211    #[doc = ""]
212    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
213    #[doc = ""]
214    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
215    pub fn append_with_node_7(
216        this: &DocumentFragment,
217        nodes_1: &Node,
218        nodes_2: &Node,
219        nodes_3: &Node,
220        nodes_4: &Node,
221        nodes_5: &Node,
222        nodes_6: &Node,
223        nodes_7: &Node,
224    ) -> Result<(), JsValue>;
225    #[wasm_bindgen(
226        catch,
227        method,
228        variadic,
229        js_class = "DocumentFragment",
230        js_name = "append"
231    )]
232    #[doc = "The `append()` method."]
233    #[doc = ""]
234    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
235    #[doc = ""]
236    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
237    pub fn append_with_str(this: &DocumentFragment, nodes: &::js_sys::Array)
238        -> Result<(), JsValue>;
239    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
240    #[doc = "The `append()` method."]
241    #[doc = ""]
242    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
243    #[doc = ""]
244    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
245    pub fn append_with_str_0(this: &DocumentFragment) -> Result<(), JsValue>;
246    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
247    #[doc = "The `append()` method."]
248    #[doc = ""]
249    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
250    #[doc = ""]
251    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
252    pub fn append_with_str_1(this: &DocumentFragment, nodes_1: &str) -> Result<(), JsValue>;
253    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
254    #[doc = "The `append()` method."]
255    #[doc = ""]
256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
257    #[doc = ""]
258    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
259    pub fn append_with_str_2(
260        this: &DocumentFragment,
261        nodes_1: &str,
262        nodes_2: &str,
263    ) -> Result<(), JsValue>;
264    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
265    #[doc = "The `append()` method."]
266    #[doc = ""]
267    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
268    #[doc = ""]
269    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
270    pub fn append_with_str_3(
271        this: &DocumentFragment,
272        nodes_1: &str,
273        nodes_2: &str,
274        nodes_3: &str,
275    ) -> Result<(), JsValue>;
276    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
277    #[doc = "The `append()` method."]
278    #[doc = ""]
279    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
280    #[doc = ""]
281    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
282    pub fn append_with_str_4(
283        this: &DocumentFragment,
284        nodes_1: &str,
285        nodes_2: &str,
286        nodes_3: &str,
287        nodes_4: &str,
288    ) -> Result<(), JsValue>;
289    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
290    #[doc = "The `append()` method."]
291    #[doc = ""]
292    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
293    #[doc = ""]
294    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
295    pub fn append_with_str_5(
296        this: &DocumentFragment,
297        nodes_1: &str,
298        nodes_2: &str,
299        nodes_3: &str,
300        nodes_4: &str,
301        nodes_5: &str,
302    ) -> Result<(), JsValue>;
303    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
304    #[doc = "The `append()` method."]
305    #[doc = ""]
306    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
307    #[doc = ""]
308    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
309    pub fn append_with_str_6(
310        this: &DocumentFragment,
311        nodes_1: &str,
312        nodes_2: &str,
313        nodes_3: &str,
314        nodes_4: &str,
315        nodes_5: &str,
316        nodes_6: &str,
317    ) -> Result<(), JsValue>;
318    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "append")]
319    #[doc = "The `append()` method."]
320    #[doc = ""]
321    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/append)"]
322    #[doc = ""]
323    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
324    pub fn append_with_str_7(
325        this: &DocumentFragment,
326        nodes_1: &str,
327        nodes_2: &str,
328        nodes_3: &str,
329        nodes_4: &str,
330        nodes_5: &str,
331        nodes_6: &str,
332        nodes_7: &str,
333    ) -> Result<(), JsValue>;
334    #[wasm_bindgen(
335        catch,
336        method,
337        variadic,
338        js_class = "DocumentFragment",
339        js_name = "prepend"
340    )]
341    #[doc = "The `prepend()` method."]
342    #[doc = ""]
343    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
344    #[doc = ""]
345    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
346    pub fn prepend_with_node(
347        this: &DocumentFragment,
348        nodes: &::js_sys::Array,
349    ) -> Result<(), JsValue>;
350    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
351    #[doc = "The `prepend()` method."]
352    #[doc = ""]
353    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
354    #[doc = ""]
355    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
356    pub fn prepend_with_node_0(this: &DocumentFragment) -> Result<(), JsValue>;
357    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
358    #[doc = "The `prepend()` method."]
359    #[doc = ""]
360    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
361    #[doc = ""]
362    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
363    pub fn prepend_with_node_1(this: &DocumentFragment, nodes_1: &Node) -> Result<(), JsValue>;
364    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
365    #[doc = "The `prepend()` method."]
366    #[doc = ""]
367    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
368    #[doc = ""]
369    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
370    pub fn prepend_with_node_2(
371        this: &DocumentFragment,
372        nodes_1: &Node,
373        nodes_2: &Node,
374    ) -> Result<(), JsValue>;
375    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
376    #[doc = "The `prepend()` method."]
377    #[doc = ""]
378    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
379    #[doc = ""]
380    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
381    pub fn prepend_with_node_3(
382        this: &DocumentFragment,
383        nodes_1: &Node,
384        nodes_2: &Node,
385        nodes_3: &Node,
386    ) -> Result<(), JsValue>;
387    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
388    #[doc = "The `prepend()` method."]
389    #[doc = ""]
390    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
391    #[doc = ""]
392    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
393    pub fn prepend_with_node_4(
394        this: &DocumentFragment,
395        nodes_1: &Node,
396        nodes_2: &Node,
397        nodes_3: &Node,
398        nodes_4: &Node,
399    ) -> Result<(), JsValue>;
400    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
401    #[doc = "The `prepend()` method."]
402    #[doc = ""]
403    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
404    #[doc = ""]
405    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
406    pub fn prepend_with_node_5(
407        this: &DocumentFragment,
408        nodes_1: &Node,
409        nodes_2: &Node,
410        nodes_3: &Node,
411        nodes_4: &Node,
412        nodes_5: &Node,
413    ) -> Result<(), JsValue>;
414    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
415    #[doc = "The `prepend()` method."]
416    #[doc = ""]
417    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
418    #[doc = ""]
419    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
420    pub fn prepend_with_node_6(
421        this: &DocumentFragment,
422        nodes_1: &Node,
423        nodes_2: &Node,
424        nodes_3: &Node,
425        nodes_4: &Node,
426        nodes_5: &Node,
427        nodes_6: &Node,
428    ) -> Result<(), JsValue>;
429    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
430    #[doc = "The `prepend()` method."]
431    #[doc = ""]
432    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
433    #[doc = ""]
434    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
435    pub fn prepend_with_node_7(
436        this: &DocumentFragment,
437        nodes_1: &Node,
438        nodes_2: &Node,
439        nodes_3: &Node,
440        nodes_4: &Node,
441        nodes_5: &Node,
442        nodes_6: &Node,
443        nodes_7: &Node,
444    ) -> Result<(), JsValue>;
445    #[wasm_bindgen(
446        catch,
447        method,
448        variadic,
449        js_class = "DocumentFragment",
450        js_name = "prepend"
451    )]
452    #[doc = "The `prepend()` method."]
453    #[doc = ""]
454    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
455    #[doc = ""]
456    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
457    pub fn prepend_with_str(
458        this: &DocumentFragment,
459        nodes: &::js_sys::Array,
460    ) -> Result<(), JsValue>;
461    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
462    #[doc = "The `prepend()` method."]
463    #[doc = ""]
464    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
465    #[doc = ""]
466    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
467    pub fn prepend_with_str_0(this: &DocumentFragment) -> Result<(), JsValue>;
468    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
469    #[doc = "The `prepend()` method."]
470    #[doc = ""]
471    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
472    #[doc = ""]
473    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
474    pub fn prepend_with_str_1(this: &DocumentFragment, nodes_1: &str) -> Result<(), JsValue>;
475    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
476    #[doc = "The `prepend()` method."]
477    #[doc = ""]
478    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
479    #[doc = ""]
480    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
481    pub fn prepend_with_str_2(
482        this: &DocumentFragment,
483        nodes_1: &str,
484        nodes_2: &str,
485    ) -> Result<(), JsValue>;
486    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
487    #[doc = "The `prepend()` method."]
488    #[doc = ""]
489    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
490    #[doc = ""]
491    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
492    pub fn prepend_with_str_3(
493        this: &DocumentFragment,
494        nodes_1: &str,
495        nodes_2: &str,
496        nodes_3: &str,
497    ) -> Result<(), JsValue>;
498    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
499    #[doc = "The `prepend()` method."]
500    #[doc = ""]
501    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
502    #[doc = ""]
503    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
504    pub fn prepend_with_str_4(
505        this: &DocumentFragment,
506        nodes_1: &str,
507        nodes_2: &str,
508        nodes_3: &str,
509        nodes_4: &str,
510    ) -> Result<(), JsValue>;
511    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
512    #[doc = "The `prepend()` method."]
513    #[doc = ""]
514    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
515    #[doc = ""]
516    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
517    pub fn prepend_with_str_5(
518        this: &DocumentFragment,
519        nodes_1: &str,
520        nodes_2: &str,
521        nodes_3: &str,
522        nodes_4: &str,
523        nodes_5: &str,
524    ) -> Result<(), JsValue>;
525    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
526    #[doc = "The `prepend()` method."]
527    #[doc = ""]
528    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
529    #[doc = ""]
530    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
531    pub fn prepend_with_str_6(
532        this: &DocumentFragment,
533        nodes_1: &str,
534        nodes_2: &str,
535        nodes_3: &str,
536        nodes_4: &str,
537        nodes_5: &str,
538        nodes_6: &str,
539    ) -> Result<(), JsValue>;
540    #[wasm_bindgen(catch, method, js_class = "DocumentFragment", js_name = "prepend")]
541    #[doc = "The `prepend()` method."]
542    #[doc = ""]
543    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/prepend)"]
544    #[doc = ""]
545    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
546    pub fn prepend_with_str_7(
547        this: &DocumentFragment,
548        nodes_1: &str,
549        nodes_2: &str,
550        nodes_3: &str,
551        nodes_4: &str,
552        nodes_5: &str,
553        nodes_6: &str,
554        nodes_7: &str,
555    ) -> Result<(), JsValue>;
556    #[wasm_bindgen(
557        method,
558        variadic,
559        js_class = "DocumentFragment",
560        js_name = "replaceChildren"
561    )]
562    #[doc = "The `replaceChildren()` method."]
563    #[doc = ""]
564    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
565    #[doc = ""]
566    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
567    pub fn replace_children_with_node(this: &DocumentFragment, nodes: &::js_sys::Array);
568    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
569    #[doc = "The `replaceChildren()` method."]
570    #[doc = ""]
571    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
572    #[doc = ""]
573    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
574    pub fn replace_children_with_node_0(this: &DocumentFragment);
575    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
576    #[doc = "The `replaceChildren()` method."]
577    #[doc = ""]
578    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
579    #[doc = ""]
580    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
581    pub fn replace_children_with_node_1(this: &DocumentFragment, nodes_1: &Node);
582    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
583    #[doc = "The `replaceChildren()` method."]
584    #[doc = ""]
585    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
586    #[doc = ""]
587    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
588    pub fn replace_children_with_node_2(this: &DocumentFragment, nodes_1: &Node, nodes_2: &Node);
589    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
590    #[doc = "The `replaceChildren()` method."]
591    #[doc = ""]
592    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
593    #[doc = ""]
594    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
595    pub fn replace_children_with_node_3(
596        this: &DocumentFragment,
597        nodes_1: &Node,
598        nodes_2: &Node,
599        nodes_3: &Node,
600    );
601    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
602    #[doc = "The `replaceChildren()` method."]
603    #[doc = ""]
604    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
605    #[doc = ""]
606    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
607    pub fn replace_children_with_node_4(
608        this: &DocumentFragment,
609        nodes_1: &Node,
610        nodes_2: &Node,
611        nodes_3: &Node,
612        nodes_4: &Node,
613    );
614    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
615    #[doc = "The `replaceChildren()` method."]
616    #[doc = ""]
617    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
618    #[doc = ""]
619    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
620    pub fn replace_children_with_node_5(
621        this: &DocumentFragment,
622        nodes_1: &Node,
623        nodes_2: &Node,
624        nodes_3: &Node,
625        nodes_4: &Node,
626        nodes_5: &Node,
627    );
628    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
629    #[doc = "The `replaceChildren()` method."]
630    #[doc = ""]
631    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
632    #[doc = ""]
633    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
634    pub fn replace_children_with_node_6(
635        this: &DocumentFragment,
636        nodes_1: &Node,
637        nodes_2: &Node,
638        nodes_3: &Node,
639        nodes_4: &Node,
640        nodes_5: &Node,
641        nodes_6: &Node,
642    );
643    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
644    #[doc = "The `replaceChildren()` method."]
645    #[doc = ""]
646    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
647    #[doc = ""]
648    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
649    pub fn replace_children_with_node_7(
650        this: &DocumentFragment,
651        nodes_1: &Node,
652        nodes_2: &Node,
653        nodes_3: &Node,
654        nodes_4: &Node,
655        nodes_5: &Node,
656        nodes_6: &Node,
657        nodes_7: &Node,
658    );
659    #[wasm_bindgen(
660        method,
661        variadic,
662        js_class = "DocumentFragment",
663        js_name = "replaceChildren"
664    )]
665    #[doc = "The `replaceChildren()` method."]
666    #[doc = ""]
667    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
668    #[doc = ""]
669    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
670    pub fn replace_children_with_str(this: &DocumentFragment, nodes: &::js_sys::Array);
671    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
672    #[doc = "The `replaceChildren()` method."]
673    #[doc = ""]
674    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
675    #[doc = ""]
676    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
677    pub fn replace_children_with_str_0(this: &DocumentFragment);
678    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
679    #[doc = "The `replaceChildren()` method."]
680    #[doc = ""]
681    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
682    #[doc = ""]
683    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
684    pub fn replace_children_with_str_1(this: &DocumentFragment, nodes_1: &str);
685    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
686    #[doc = "The `replaceChildren()` method."]
687    #[doc = ""]
688    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
689    #[doc = ""]
690    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
691    pub fn replace_children_with_str_2(this: &DocumentFragment, nodes_1: &str, nodes_2: &str);
692    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
693    #[doc = "The `replaceChildren()` method."]
694    #[doc = ""]
695    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
696    #[doc = ""]
697    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
698    pub fn replace_children_with_str_3(
699        this: &DocumentFragment,
700        nodes_1: &str,
701        nodes_2: &str,
702        nodes_3: &str,
703    );
704    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
705    #[doc = "The `replaceChildren()` method."]
706    #[doc = ""]
707    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
708    #[doc = ""]
709    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
710    pub fn replace_children_with_str_4(
711        this: &DocumentFragment,
712        nodes_1: &str,
713        nodes_2: &str,
714        nodes_3: &str,
715        nodes_4: &str,
716    );
717    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
718    #[doc = "The `replaceChildren()` method."]
719    #[doc = ""]
720    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
721    #[doc = ""]
722    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
723    pub fn replace_children_with_str_5(
724        this: &DocumentFragment,
725        nodes_1: &str,
726        nodes_2: &str,
727        nodes_3: &str,
728        nodes_4: &str,
729        nodes_5: &str,
730    );
731    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
732    #[doc = "The `replaceChildren()` method."]
733    #[doc = ""]
734    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
735    #[doc = ""]
736    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
737    pub fn replace_children_with_str_6(
738        this: &DocumentFragment,
739        nodes_1: &str,
740        nodes_2: &str,
741        nodes_3: &str,
742        nodes_4: &str,
743        nodes_5: &str,
744        nodes_6: &str,
745    );
746    #[wasm_bindgen(method, js_class = "DocumentFragment", js_name = "replaceChildren")]
747    #[doc = "The `replaceChildren()` method."]
748    #[doc = ""]
749    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment/replaceChildren)"]
750    #[doc = ""]
751    #[doc = "*This API requires the following crate features to be activated: `DocumentFragment`*"]
752    pub fn replace_children_with_str_7(
753        this: &DocumentFragment,
754        nodes_1: &str,
755        nodes_2: &str,
756        nodes_3: &str,
757        nodes_4: &str,
758        nodes_5: &str,
759        nodes_6: &str,
760        nodes_7: &str,
761    );
762}