Skip to main content

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