1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = Document , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDocument , typescript_type = "HTMLDocument")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlDocument` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
14 pub type HtmlDocument;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = domain)]
16 #[doc = "Getter for the `domain` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
21 pub fn domain(this: &HtmlDocument) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = domain)]
23 #[doc = "Setter for the `domain` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/domain)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
28 pub fn set_domain(this: &HtmlDocument, value: &str);
29 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLDocument" , js_name = cookie)]
30 #[doc = "Getter for the `cookie` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
35 pub fn cookie(this: &HtmlDocument) -> Result<::alloc::string::String, JsValue>;
36 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLDocument" , js_name = cookie)]
37 #[doc = "Setter for the `cookie` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/cookie)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
42 pub fn set_cookie(this: &HtmlDocument, value: &str) -> Result<(), JsValue>;
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = designMode)]
44 #[doc = "Getter for the `designMode` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
49 pub fn design_mode(this: &HtmlDocument) -> ::alloc::string::String;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = designMode)]
51 #[doc = "Setter for the `designMode` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/designMode)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
56 pub fn set_design_mode(this: &HtmlDocument, value: &str);
57 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = fgColor)]
58 #[doc = "Getter for the `fgColor` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
63 pub fn fg_color(this: &HtmlDocument) -> ::alloc::string::String;
64 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = fgColor)]
65 #[doc = "Setter for the `fgColor` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/fgColor)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
70 pub fn set_fg_color(this: &HtmlDocument, value: &str);
71 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = linkColor)]
72 #[doc = "Getter for the `linkColor` field of this object."]
73 #[doc = ""]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
77 pub fn link_color(this: &HtmlDocument) -> ::alloc::string::String;
78 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = linkColor)]
79 #[doc = "Setter for the `linkColor` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/linkColor)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
84 pub fn set_link_color(this: &HtmlDocument, value: &str);
85 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = vlinkColor)]
86 #[doc = "Getter for the `vlinkColor` field of this object."]
87 #[doc = ""]
88 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)"]
89 #[doc = ""]
90 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
91 pub fn vlink_color(this: &HtmlDocument) -> ::alloc::string::String;
92 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = vlinkColor)]
93 #[doc = "Setter for the `vlinkColor` field of this object."]
94 #[doc = ""]
95 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/vlinkColor)"]
96 #[doc = ""]
97 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
98 pub fn set_vlink_color(this: &HtmlDocument, value: &str);
99 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = alinkColor)]
100 #[doc = "Getter for the `alinkColor` field of this object."]
101 #[doc = ""]
102 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)"]
103 #[doc = ""]
104 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
105 pub fn alink_color(this: &HtmlDocument) -> ::alloc::string::String;
106 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = alinkColor)]
107 #[doc = "Setter for the `alinkColor` field of this object."]
108 #[doc = ""]
109 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/alinkColor)"]
110 #[doc = ""]
111 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
112 pub fn set_alink_color(this: &HtmlDocument, value: &str);
113 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = bgColor)]
114 #[doc = "Getter for the `bgColor` field of this object."]
115 #[doc = ""]
116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)"]
117 #[doc = ""]
118 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
119 pub fn bg_color(this: &HtmlDocument) -> ::alloc::string::String;
120 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDocument" , js_name = bgColor)]
121 #[doc = "Setter for the `bgColor` field of this object."]
122 #[doc = ""]
123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/bgColor)"]
124 #[doc = ""]
125 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
126 pub fn set_bg_color(this: &HtmlDocument, value: &str);
127 #[cfg(feature = "HtmlAllCollection")]
128 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDocument" , js_name = all)]
129 #[doc = "Getter for the `all` field of this object."]
130 #[doc = ""]
131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/all)"]
132 #[doc = ""]
133 #[doc = "*This API requires the following crate features to be activated: `HtmlAllCollection`, `HtmlDocument`*"]
134 pub fn all(this: &HtmlDocument) -> HtmlAllCollection;
135 # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = captureEvents)]
136 #[doc = "The `captureEvents()` method."]
137 #[doc = ""]
138 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/captureEvents)"]
139 #[doc = ""]
140 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
141 pub fn capture_events(this: &HtmlDocument);
142 # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = clear)]
143 #[doc = "The `clear()` method."]
144 #[doc = ""]
145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/clear)"]
146 #[doc = ""]
147 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
148 pub fn clear(this: &HtmlDocument);
149 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = close)]
150 #[doc = "The `close()` method."]
151 #[doc = ""]
152 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/close)"]
153 #[doc = ""]
154 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
155 pub fn close(this: &HtmlDocument) -> Result<(), JsValue>;
156 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand)]
157 #[doc = "The `execCommand()` method."]
158 #[doc = ""]
159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)"]
160 #[doc = ""]
161 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
162 pub fn exec_command(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
163 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand)]
164 #[doc = "The `execCommand()` method."]
165 #[doc = ""]
166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)"]
167 #[doc = ""]
168 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
169 pub fn exec_command_with_show_ui(
170 this: &HtmlDocument,
171 command_id: &str,
172 show_ui: bool,
173 ) -> Result<bool, JsValue>;
174 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = execCommand)]
175 #[doc = "The `execCommand()` method."]
176 #[doc = ""]
177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/execCommand)"]
178 #[doc = ""]
179 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
180 pub fn exec_command_with_show_ui_and_value(
181 this: &HtmlDocument,
182 command_id: &str,
183 show_ui: bool,
184 value: &str,
185 ) -> Result<bool, JsValue>;
186 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
187 #[doc = "The `open()` method."]
188 #[doc = ""]
189 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
190 #[doc = ""]
191 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
192 pub fn open(this: &HtmlDocument) -> Result<Document, JsValue>;
193 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
194 #[doc = "The `open()` method."]
195 #[doc = ""]
196 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
197 #[doc = ""]
198 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
199 pub fn open_with_type(this: &HtmlDocument, type_: &str) -> Result<Document, JsValue>;
200 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
201 #[doc = "The `open()` method."]
202 #[doc = ""]
203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
204 #[doc = ""]
205 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
206 pub fn open_with_type_and_replace(
207 this: &HtmlDocument,
208 type_: &str,
209 replace: &str,
210 ) -> Result<Document, JsValue>;
211 #[cfg(feature = "Window")]
212 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
213 #[doc = "The `open()` method."]
214 #[doc = ""]
215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
216 #[doc = ""]
217 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*"]
218 pub fn open_with_url_and_name_and_features(
219 this: &HtmlDocument,
220 url: &str,
221 name: &str,
222 features: &str,
223 ) -> Result<Option<Window>, JsValue>;
224 #[cfg(feature = "Window")]
225 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = open)]
226 #[doc = "The `open()` method."]
227 #[doc = ""]
228 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/open)"]
229 #[doc = ""]
230 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`, `Window`*"]
231 pub fn open_with_url_and_name_and_features_and_replace(
232 this: &HtmlDocument,
233 url: &str,
234 name: &str,
235 features: &str,
236 replace: bool,
237 ) -> Result<Option<Window>, JsValue>;
238 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandEnabled)]
239 #[doc = "The `queryCommandEnabled()` method."]
240 #[doc = ""]
241 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandEnabled)"]
242 #[doc = ""]
243 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
244 pub fn query_command_enabled(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
245 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandIndeterm)]
246 #[doc = "The `queryCommandIndeterm()` method."]
247 #[doc = ""]
248 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandIndeterm)"]
249 #[doc = ""]
250 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
251 pub fn query_command_indeterm(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
252 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandState)]
253 #[doc = "The `queryCommandState()` method."]
254 #[doc = ""]
255 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandState)"]
256 #[doc = ""]
257 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
258 pub fn query_command_state(this: &HtmlDocument, command_id: &str) -> Result<bool, JsValue>;
259 # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = queryCommandSupported)]
260 #[doc = "The `queryCommandSupported()` method."]
261 #[doc = ""]
262 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandSupported)"]
263 #[doc = ""]
264 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
265 pub fn query_command_supported(this: &HtmlDocument, command_id: &str) -> bool;
266 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = queryCommandValue)]
267 #[doc = "The `queryCommandValue()` method."]
268 #[doc = ""]
269 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/queryCommandValue)"]
270 #[doc = ""]
271 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
272 pub fn query_command_value(
273 this: &HtmlDocument,
274 command_id: &str,
275 ) -> Result<::alloc::string::String, JsValue>;
276 # [wasm_bindgen (method , structural , js_class = "HTMLDocument" , js_name = releaseEvents)]
277 #[doc = "The `releaseEvents()` method."]
278 #[doc = ""]
279 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/releaseEvents)"]
280 #[doc = ""]
281 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
282 pub fn release_events(this: &HtmlDocument);
283 # [wasm_bindgen (catch , method , structural , variadic , js_class = "HTMLDocument" , js_name = write)]
284 #[doc = "The `write()` method."]
285 #[doc = ""]
286 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
287 #[doc = ""]
288 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
289 pub fn write(this: &HtmlDocument, text: &::js_sys::Array) -> Result<(), JsValue>;
290 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
291 #[doc = "The `write()` method."]
292 #[doc = ""]
293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
294 #[doc = ""]
295 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
296 pub fn write_0(this: &HtmlDocument) -> Result<(), JsValue>;
297 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
298 #[doc = "The `write()` method."]
299 #[doc = ""]
300 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
301 #[doc = ""]
302 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
303 pub fn write_1(this: &HtmlDocument, text_1: &str) -> Result<(), JsValue>;
304 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
305 #[doc = "The `write()` method."]
306 #[doc = ""]
307 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
308 #[doc = ""]
309 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
310 pub fn write_2(this: &HtmlDocument, text_1: &str, text_2: &str) -> Result<(), JsValue>;
311 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
312 #[doc = "The `write()` method."]
313 #[doc = ""]
314 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
315 #[doc = ""]
316 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
317 pub fn write_3(
318 this: &HtmlDocument,
319 text_1: &str,
320 text_2: &str,
321 text_3: &str,
322 ) -> Result<(), JsValue>;
323 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
324 #[doc = "The `write()` method."]
325 #[doc = ""]
326 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
327 #[doc = ""]
328 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
329 pub fn write_4(
330 this: &HtmlDocument,
331 text_1: &str,
332 text_2: &str,
333 text_3: &str,
334 text_4: &str,
335 ) -> Result<(), JsValue>;
336 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
337 #[doc = "The `write()` method."]
338 #[doc = ""]
339 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
340 #[doc = ""]
341 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
342 pub fn write_5(
343 this: &HtmlDocument,
344 text_1: &str,
345 text_2: &str,
346 text_3: &str,
347 text_4: &str,
348 text_5: &str,
349 ) -> Result<(), JsValue>;
350 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
351 #[doc = "The `write()` method."]
352 #[doc = ""]
353 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
354 #[doc = ""]
355 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
356 pub fn write_6(
357 this: &HtmlDocument,
358 text_1: &str,
359 text_2: &str,
360 text_3: &str,
361 text_4: &str,
362 text_5: &str,
363 text_6: &str,
364 ) -> Result<(), JsValue>;
365 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = write)]
366 #[doc = "The `write()` method."]
367 #[doc = ""]
368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/write)"]
369 #[doc = ""]
370 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
371 pub fn write_7(
372 this: &HtmlDocument,
373 text_1: &str,
374 text_2: &str,
375 text_3: &str,
376 text_4: &str,
377 text_5: &str,
378 text_6: &str,
379 text_7: &str,
380 ) -> Result<(), JsValue>;
381 # [wasm_bindgen (catch , method , structural , variadic , js_class = "HTMLDocument" , js_name = writeln)]
382 #[doc = "The `writeln()` method."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
387 pub fn writeln(this: &HtmlDocument, text: &::js_sys::Array) -> Result<(), JsValue>;
388 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
389 #[doc = "The `writeln()` method."]
390 #[doc = ""]
391 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
392 #[doc = ""]
393 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
394 pub fn writeln_0(this: &HtmlDocument) -> Result<(), JsValue>;
395 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
396 #[doc = "The `writeln()` method."]
397 #[doc = ""]
398 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
399 #[doc = ""]
400 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
401 pub fn writeln_1(this: &HtmlDocument, text_1: &str) -> Result<(), JsValue>;
402 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
403 #[doc = "The `writeln()` method."]
404 #[doc = ""]
405 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
406 #[doc = ""]
407 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
408 pub fn writeln_2(this: &HtmlDocument, text_1: &str, text_2: &str) -> Result<(), JsValue>;
409 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
410 #[doc = "The `writeln()` method."]
411 #[doc = ""]
412 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
413 #[doc = ""]
414 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
415 pub fn writeln_3(
416 this: &HtmlDocument,
417 text_1: &str,
418 text_2: &str,
419 text_3: &str,
420 ) -> Result<(), JsValue>;
421 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
422 #[doc = "The `writeln()` method."]
423 #[doc = ""]
424 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
425 #[doc = ""]
426 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
427 pub fn writeln_4(
428 this: &HtmlDocument,
429 text_1: &str,
430 text_2: &str,
431 text_3: &str,
432 text_4: &str,
433 ) -> Result<(), JsValue>;
434 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
435 #[doc = "The `writeln()` method."]
436 #[doc = ""]
437 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
438 #[doc = ""]
439 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
440 pub fn writeln_5(
441 this: &HtmlDocument,
442 text_1: &str,
443 text_2: &str,
444 text_3: &str,
445 text_4: &str,
446 text_5: &str,
447 ) -> Result<(), JsValue>;
448 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
449 #[doc = "The `writeln()` method."]
450 #[doc = ""]
451 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
452 #[doc = ""]
453 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
454 pub fn writeln_6(
455 this: &HtmlDocument,
456 text_1: &str,
457 text_2: &str,
458 text_3: &str,
459 text_4: &str,
460 text_5: &str,
461 text_6: &str,
462 ) -> Result<(), JsValue>;
463 # [wasm_bindgen (catch , method , structural , js_class = "HTMLDocument" , js_name = writeln)]
464 #[doc = "The `writeln()` method."]
465 #[doc = ""]
466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDocument/writeln)"]
467 #[doc = ""]
468 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
469 pub fn writeln_7(
470 this: &HtmlDocument,
471 text_1: &str,
472 text_2: &str,
473 text_3: &str,
474 text_4: &str,
475 text_5: &str,
476 text_6: &str,
477 text_7: &str,
478 ) -> Result<(), JsValue>;
479 #[wasm_bindgen(catch, method, structural, js_class = "HTMLDocument", indexing_getter)]
480 #[doc = "Indexing getter. As in the literal Javascript `this[key]`."]
481 #[doc = ""]
482 #[doc = ""]
483 #[doc = ""]
484 #[doc = "*This API requires the following crate features to be activated: `HtmlDocument`*"]
485 pub fn get(this: &HtmlDocument, name: &str) -> Result<::js_sys::Object, JsValue>;
486}