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 = "DocumentType",
12 typescript_type = "DocumentType"
13 )]
14 #[derive(Debug, Clone, PartialEq, Eq)]
15 #[doc = "The `DocumentType` class."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
20 pub type DocumentType;
21 #[wasm_bindgen(method, getter, js_class = "DocumentType", js_name = "name")]
22 #[doc = "Getter for the `name` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/name)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
27 pub fn name(this: &DocumentType) -> ::alloc::string::String;
28 #[wasm_bindgen(method, getter, js_class = "DocumentType", js_name = "publicId")]
29 #[doc = "Getter for the `publicId` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/publicId)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
34 pub fn public_id(this: &DocumentType) -> ::alloc::string::String;
35 #[wasm_bindgen(method, getter, js_class = "DocumentType", js_name = "systemId")]
36 #[doc = "Getter for the `systemId` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/systemId)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
41 pub fn system_id(this: &DocumentType) -> ::alloc::string::String;
42 #[wasm_bindgen(catch, method, variadic, js_class = "DocumentType", js_name = "after")]
43 #[doc = "The `after()` method."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
48 pub fn after_with_node(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
49 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
50 #[doc = "The `after()` method."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
55 pub fn after_with_node_0(this: &DocumentType) -> Result<(), JsValue>;
56 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
57 #[doc = "The `after()` method."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
62 pub fn after_with_node_1(this: &DocumentType, nodes_1: &Node) -> Result<(), JsValue>;
63 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
64 #[doc = "The `after()` method."]
65 #[doc = ""]
66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
67 #[doc = ""]
68 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
69 pub fn after_with_node_2(
70 this: &DocumentType,
71 nodes_1: &Node,
72 nodes_2: &Node,
73 ) -> Result<(), JsValue>;
74 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
75 #[doc = "The `after()` method."]
76 #[doc = ""]
77 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
78 #[doc = ""]
79 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
80 pub fn after_with_node_3(
81 this: &DocumentType,
82 nodes_1: &Node,
83 nodes_2: &Node,
84 nodes_3: &Node,
85 ) -> Result<(), JsValue>;
86 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
87 #[doc = "The `after()` method."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
92 pub fn after_with_node_4(
93 this: &DocumentType,
94 nodes_1: &Node,
95 nodes_2: &Node,
96 nodes_3: &Node,
97 nodes_4: &Node,
98 ) -> Result<(), JsValue>;
99 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
100 #[doc = "The `after()` method."]
101 #[doc = ""]
102 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
103 #[doc = ""]
104 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
105 pub fn after_with_node_5(
106 this: &DocumentType,
107 nodes_1: &Node,
108 nodes_2: &Node,
109 nodes_3: &Node,
110 nodes_4: &Node,
111 nodes_5: &Node,
112 ) -> Result<(), JsValue>;
113 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
114 #[doc = "The `after()` method."]
115 #[doc = ""]
116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
117 #[doc = ""]
118 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
119 pub fn after_with_node_6(
120 this: &DocumentType,
121 nodes_1: &Node,
122 nodes_2: &Node,
123 nodes_3: &Node,
124 nodes_4: &Node,
125 nodes_5: &Node,
126 nodes_6: &Node,
127 ) -> Result<(), JsValue>;
128 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
129 #[doc = "The `after()` method."]
130 #[doc = ""]
131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
132 #[doc = ""]
133 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
134 pub fn after_with_node_7(
135 this: &DocumentType,
136 nodes_1: &Node,
137 nodes_2: &Node,
138 nodes_3: &Node,
139 nodes_4: &Node,
140 nodes_5: &Node,
141 nodes_6: &Node,
142 nodes_7: &Node,
143 ) -> Result<(), JsValue>;
144 #[wasm_bindgen(catch, method, variadic, js_class = "DocumentType", js_name = "after")]
145 #[doc = "The `after()` method."]
146 #[doc = ""]
147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
148 #[doc = ""]
149 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
150 pub fn after_with_str(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
151 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
152 #[doc = "The `after()` method."]
153 #[doc = ""]
154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
155 #[doc = ""]
156 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
157 pub fn after_with_str_0(this: &DocumentType) -> Result<(), JsValue>;
158 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
159 #[doc = "The `after()` method."]
160 #[doc = ""]
161 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
162 #[doc = ""]
163 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
164 pub fn after_with_str_1(this: &DocumentType, nodes_1: &str) -> Result<(), JsValue>;
165 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
166 #[doc = "The `after()` method."]
167 #[doc = ""]
168 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
169 #[doc = ""]
170 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
171 pub fn after_with_str_2(
172 this: &DocumentType,
173 nodes_1: &str,
174 nodes_2: &str,
175 ) -> Result<(), JsValue>;
176 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
177 #[doc = "The `after()` method."]
178 #[doc = ""]
179 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
180 #[doc = ""]
181 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
182 pub fn after_with_str_3(
183 this: &DocumentType,
184 nodes_1: &str,
185 nodes_2: &str,
186 nodes_3: &str,
187 ) -> Result<(), JsValue>;
188 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
189 #[doc = "The `after()` method."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
194 pub fn after_with_str_4(
195 this: &DocumentType,
196 nodes_1: &str,
197 nodes_2: &str,
198 nodes_3: &str,
199 nodes_4: &str,
200 ) -> Result<(), JsValue>;
201 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
202 #[doc = "The `after()` method."]
203 #[doc = ""]
204 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
205 #[doc = ""]
206 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
207 pub fn after_with_str_5(
208 this: &DocumentType,
209 nodes_1: &str,
210 nodes_2: &str,
211 nodes_3: &str,
212 nodes_4: &str,
213 nodes_5: &str,
214 ) -> Result<(), JsValue>;
215 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
216 #[doc = "The `after()` method."]
217 #[doc = ""]
218 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
219 #[doc = ""]
220 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
221 pub fn after_with_str_6(
222 this: &DocumentType,
223 nodes_1: &str,
224 nodes_2: &str,
225 nodes_3: &str,
226 nodes_4: &str,
227 nodes_5: &str,
228 nodes_6: &str,
229 ) -> Result<(), JsValue>;
230 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "after")]
231 #[doc = "The `after()` method."]
232 #[doc = ""]
233 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/after)"]
234 #[doc = ""]
235 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
236 pub fn after_with_str_7(
237 this: &DocumentType,
238 nodes_1: &str,
239 nodes_2: &str,
240 nodes_3: &str,
241 nodes_4: &str,
242 nodes_5: &str,
243 nodes_6: &str,
244 nodes_7: &str,
245 ) -> Result<(), JsValue>;
246 #[wasm_bindgen(catch, method, variadic, js_class = "DocumentType", js_name = "before")]
247 #[doc = "The `before()` method."]
248 #[doc = ""]
249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
250 #[doc = ""]
251 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
252 pub fn before_with_node(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
253 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
254 #[doc = "The `before()` method."]
255 #[doc = ""]
256 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
257 #[doc = ""]
258 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
259 pub fn before_with_node_0(this: &DocumentType) -> Result<(), JsValue>;
260 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
261 #[doc = "The `before()` method."]
262 #[doc = ""]
263 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
264 #[doc = ""]
265 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
266 pub fn before_with_node_1(this: &DocumentType, nodes_1: &Node) -> Result<(), JsValue>;
267 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
268 #[doc = "The `before()` method."]
269 #[doc = ""]
270 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
271 #[doc = ""]
272 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
273 pub fn before_with_node_2(
274 this: &DocumentType,
275 nodes_1: &Node,
276 nodes_2: &Node,
277 ) -> Result<(), JsValue>;
278 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
279 #[doc = "The `before()` method."]
280 #[doc = ""]
281 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
282 #[doc = ""]
283 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
284 pub fn before_with_node_3(
285 this: &DocumentType,
286 nodes_1: &Node,
287 nodes_2: &Node,
288 nodes_3: &Node,
289 ) -> Result<(), JsValue>;
290 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
291 #[doc = "The `before()` method."]
292 #[doc = ""]
293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
294 #[doc = ""]
295 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
296 pub fn before_with_node_4(
297 this: &DocumentType,
298 nodes_1: &Node,
299 nodes_2: &Node,
300 nodes_3: &Node,
301 nodes_4: &Node,
302 ) -> Result<(), JsValue>;
303 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
304 #[doc = "The `before()` method."]
305 #[doc = ""]
306 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
307 #[doc = ""]
308 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
309 pub fn before_with_node_5(
310 this: &DocumentType,
311 nodes_1: &Node,
312 nodes_2: &Node,
313 nodes_3: &Node,
314 nodes_4: &Node,
315 nodes_5: &Node,
316 ) -> Result<(), JsValue>;
317 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
318 #[doc = "The `before()` method."]
319 #[doc = ""]
320 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
321 #[doc = ""]
322 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
323 pub fn before_with_node_6(
324 this: &DocumentType,
325 nodes_1: &Node,
326 nodes_2: &Node,
327 nodes_3: &Node,
328 nodes_4: &Node,
329 nodes_5: &Node,
330 nodes_6: &Node,
331 ) -> Result<(), JsValue>;
332 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
333 #[doc = "The `before()` method."]
334 #[doc = ""]
335 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
336 #[doc = ""]
337 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
338 pub fn before_with_node_7(
339 this: &DocumentType,
340 nodes_1: &Node,
341 nodes_2: &Node,
342 nodes_3: &Node,
343 nodes_4: &Node,
344 nodes_5: &Node,
345 nodes_6: &Node,
346 nodes_7: &Node,
347 ) -> Result<(), JsValue>;
348 #[wasm_bindgen(catch, method, variadic, js_class = "DocumentType", js_name = "before")]
349 #[doc = "The `before()` method."]
350 #[doc = ""]
351 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
352 #[doc = ""]
353 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
354 pub fn before_with_str(this: &DocumentType, nodes: &::js_sys::Array) -> Result<(), JsValue>;
355 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
356 #[doc = "The `before()` method."]
357 #[doc = ""]
358 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
359 #[doc = ""]
360 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
361 pub fn before_with_str_0(this: &DocumentType) -> Result<(), JsValue>;
362 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
363 #[doc = "The `before()` method."]
364 #[doc = ""]
365 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
366 #[doc = ""]
367 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
368 pub fn before_with_str_1(this: &DocumentType, nodes_1: &str) -> Result<(), JsValue>;
369 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
370 #[doc = "The `before()` method."]
371 #[doc = ""]
372 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
373 #[doc = ""]
374 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
375 pub fn before_with_str_2(
376 this: &DocumentType,
377 nodes_1: &str,
378 nodes_2: &str,
379 ) -> Result<(), JsValue>;
380 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
381 #[doc = "The `before()` method."]
382 #[doc = ""]
383 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
384 #[doc = ""]
385 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
386 pub fn before_with_str_3(
387 this: &DocumentType,
388 nodes_1: &str,
389 nodes_2: &str,
390 nodes_3: &str,
391 ) -> Result<(), JsValue>;
392 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
393 #[doc = "The `before()` method."]
394 #[doc = ""]
395 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
396 #[doc = ""]
397 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
398 pub fn before_with_str_4(
399 this: &DocumentType,
400 nodes_1: &str,
401 nodes_2: &str,
402 nodes_3: &str,
403 nodes_4: &str,
404 ) -> Result<(), JsValue>;
405 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
406 #[doc = "The `before()` method."]
407 #[doc = ""]
408 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
409 #[doc = ""]
410 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
411 pub fn before_with_str_5(
412 this: &DocumentType,
413 nodes_1: &str,
414 nodes_2: &str,
415 nodes_3: &str,
416 nodes_4: &str,
417 nodes_5: &str,
418 ) -> Result<(), JsValue>;
419 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
420 #[doc = "The `before()` method."]
421 #[doc = ""]
422 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
423 #[doc = ""]
424 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
425 pub fn before_with_str_6(
426 this: &DocumentType,
427 nodes_1: &str,
428 nodes_2: &str,
429 nodes_3: &str,
430 nodes_4: &str,
431 nodes_5: &str,
432 nodes_6: &str,
433 ) -> Result<(), JsValue>;
434 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "before")]
435 #[doc = "The `before()` method."]
436 #[doc = ""]
437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/before)"]
438 #[doc = ""]
439 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
440 pub fn before_with_str_7(
441 this: &DocumentType,
442 nodes_1: &str,
443 nodes_2: &str,
444 nodes_3: &str,
445 nodes_4: &str,
446 nodes_5: &str,
447 nodes_6: &str,
448 nodes_7: &str,
449 ) -> Result<(), JsValue>;
450 #[wasm_bindgen(method, js_class = "DocumentType")]
451 #[doc = "The `remove()` method."]
452 #[doc = ""]
453 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/remove)"]
454 #[doc = ""]
455 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
456 pub fn remove(this: &DocumentType);
457 #[wasm_bindgen(
458 catch,
459 method,
460 variadic,
461 js_class = "DocumentType",
462 js_name = "replaceWith"
463 )]
464 #[doc = "The `replaceWith()` method."]
465 #[doc = ""]
466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
467 #[doc = ""]
468 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
469 pub fn replace_with_with_node(
470 this: &DocumentType,
471 nodes: &::js_sys::Array,
472 ) -> Result<(), JsValue>;
473 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
474 #[doc = "The `replaceWith()` method."]
475 #[doc = ""]
476 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
477 #[doc = ""]
478 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
479 pub fn replace_with_with_node_0(this: &DocumentType) -> Result<(), JsValue>;
480 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
481 #[doc = "The `replaceWith()` method."]
482 #[doc = ""]
483 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
484 #[doc = ""]
485 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
486 pub fn replace_with_with_node_1(this: &DocumentType, nodes_1: &Node) -> Result<(), JsValue>;
487 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
488 #[doc = "The `replaceWith()` method."]
489 #[doc = ""]
490 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
491 #[doc = ""]
492 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
493 pub fn replace_with_with_node_2(
494 this: &DocumentType,
495 nodes_1: &Node,
496 nodes_2: &Node,
497 ) -> Result<(), JsValue>;
498 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
499 #[doc = "The `replaceWith()` method."]
500 #[doc = ""]
501 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
502 #[doc = ""]
503 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
504 pub fn replace_with_with_node_3(
505 this: &DocumentType,
506 nodes_1: &Node,
507 nodes_2: &Node,
508 nodes_3: &Node,
509 ) -> Result<(), JsValue>;
510 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
511 #[doc = "The `replaceWith()` method."]
512 #[doc = ""]
513 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
514 #[doc = ""]
515 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
516 pub fn replace_with_with_node_4(
517 this: &DocumentType,
518 nodes_1: &Node,
519 nodes_2: &Node,
520 nodes_3: &Node,
521 nodes_4: &Node,
522 ) -> Result<(), JsValue>;
523 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
524 #[doc = "The `replaceWith()` method."]
525 #[doc = ""]
526 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
527 #[doc = ""]
528 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
529 pub fn replace_with_with_node_5(
530 this: &DocumentType,
531 nodes_1: &Node,
532 nodes_2: &Node,
533 nodes_3: &Node,
534 nodes_4: &Node,
535 nodes_5: &Node,
536 ) -> Result<(), JsValue>;
537 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
538 #[doc = "The `replaceWith()` method."]
539 #[doc = ""]
540 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
541 #[doc = ""]
542 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
543 pub fn replace_with_with_node_6(
544 this: &DocumentType,
545 nodes_1: &Node,
546 nodes_2: &Node,
547 nodes_3: &Node,
548 nodes_4: &Node,
549 nodes_5: &Node,
550 nodes_6: &Node,
551 ) -> Result<(), JsValue>;
552 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
553 #[doc = "The `replaceWith()` method."]
554 #[doc = ""]
555 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
556 #[doc = ""]
557 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
558 pub fn replace_with_with_node_7(
559 this: &DocumentType,
560 nodes_1: &Node,
561 nodes_2: &Node,
562 nodes_3: &Node,
563 nodes_4: &Node,
564 nodes_5: &Node,
565 nodes_6: &Node,
566 nodes_7: &Node,
567 ) -> Result<(), JsValue>;
568 #[wasm_bindgen(
569 catch,
570 method,
571 variadic,
572 js_class = "DocumentType",
573 js_name = "replaceWith"
574 )]
575 #[doc = "The `replaceWith()` method."]
576 #[doc = ""]
577 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
578 #[doc = ""]
579 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
580 pub fn replace_with_with_str(
581 this: &DocumentType,
582 nodes: &::js_sys::Array,
583 ) -> Result<(), JsValue>;
584 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
585 #[doc = "The `replaceWith()` method."]
586 #[doc = ""]
587 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
588 #[doc = ""]
589 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
590 pub fn replace_with_with_str_0(this: &DocumentType) -> Result<(), JsValue>;
591 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
592 #[doc = "The `replaceWith()` method."]
593 #[doc = ""]
594 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
595 #[doc = ""]
596 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
597 pub fn replace_with_with_str_1(this: &DocumentType, nodes_1: &str) -> Result<(), JsValue>;
598 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
599 #[doc = "The `replaceWith()` method."]
600 #[doc = ""]
601 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
602 #[doc = ""]
603 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
604 pub fn replace_with_with_str_2(
605 this: &DocumentType,
606 nodes_1: &str,
607 nodes_2: &str,
608 ) -> Result<(), JsValue>;
609 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
610 #[doc = "The `replaceWith()` method."]
611 #[doc = ""]
612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
613 #[doc = ""]
614 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
615 pub fn replace_with_with_str_3(
616 this: &DocumentType,
617 nodes_1: &str,
618 nodes_2: &str,
619 nodes_3: &str,
620 ) -> Result<(), JsValue>;
621 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
622 #[doc = "The `replaceWith()` method."]
623 #[doc = ""]
624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
625 #[doc = ""]
626 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
627 pub fn replace_with_with_str_4(
628 this: &DocumentType,
629 nodes_1: &str,
630 nodes_2: &str,
631 nodes_3: &str,
632 nodes_4: &str,
633 ) -> Result<(), JsValue>;
634 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
635 #[doc = "The `replaceWith()` method."]
636 #[doc = ""]
637 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
638 #[doc = ""]
639 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
640 pub fn replace_with_with_str_5(
641 this: &DocumentType,
642 nodes_1: &str,
643 nodes_2: &str,
644 nodes_3: &str,
645 nodes_4: &str,
646 nodes_5: &str,
647 ) -> Result<(), JsValue>;
648 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
649 #[doc = "The `replaceWith()` method."]
650 #[doc = ""]
651 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
652 #[doc = ""]
653 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
654 pub fn replace_with_with_str_6(
655 this: &DocumentType,
656 nodes_1: &str,
657 nodes_2: &str,
658 nodes_3: &str,
659 nodes_4: &str,
660 nodes_5: &str,
661 nodes_6: &str,
662 ) -> Result<(), JsValue>;
663 #[wasm_bindgen(catch, method, js_class = "DocumentType", js_name = "replaceWith")]
664 #[doc = "The `replaceWith()` method."]
665 #[doc = ""]
666 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/DocumentType/replaceWith)"]
667 #[doc = ""]
668 #[doc = "*This API requires the following crate features to be activated: `DocumentType`*"]
669 pub fn replace_with_with_str_7(
670 this: &DocumentType,
671 nodes_1: &str,
672 nodes_2: &str,
673 nodes_3: &str,
674 nodes_4: &str,
675 nodes_5: &str,
676 nodes_6: &str,
677 nodes_7: &str,
678 ) -> Result<(), JsValue>;
679}