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