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