web_sys/features/
gen_Document.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Document , typescript_type = "Document")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `Document` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
14    pub type Document;
15    #[cfg(feature = "DomImplementation")]
16    # [wasm_bindgen (structural , catch , method , getter , js_class = "Document" , js_name = implementation)]
17    #[doc = "Getter for the `implementation` field of this object."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/implementation)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomImplementation`*"]
22    pub fn implementation(this: &Document) -> Result<DomImplementation, JsValue>;
23    # [wasm_bindgen (structural , catch , method , getter , js_class = "Document" , js_name = URL)]
24    #[doc = "Getter for the `URL` field of this object."]
25    #[doc = ""]
26    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/URL)"]
27    #[doc = ""]
28    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
29    pub fn url(this: &Document) -> Result<::alloc::string::String, JsValue>;
30    # [wasm_bindgen (structural , catch , method , getter , js_class = "Document" , js_name = documentURI)]
31    #[doc = "Getter for the `documentURI` field of this object."]
32    #[doc = ""]
33    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentURI)"]
34    #[doc = ""]
35    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
36    pub fn document_uri(this: &Document) -> Result<::alloc::string::String, JsValue>;
37    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = compatMode)]
38    #[doc = "Getter for the `compatMode` field of this object."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/compatMode)"]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
43    pub fn compat_mode(this: &Document) -> ::alloc::string::String;
44    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = characterSet)]
45    #[doc = "Getter for the `characterSet` field of this object."]
46    #[doc = ""]
47    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/characterSet)"]
48    #[doc = ""]
49    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
50    pub fn character_set(this: &Document) -> ::alloc::string::String;
51    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = charset)]
52    #[doc = "Getter for the `charset` field of this object."]
53    #[doc = ""]
54    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/charset)"]
55    #[doc = ""]
56    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
57    pub fn charset(this: &Document) -> ::alloc::string::String;
58    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = inputEncoding)]
59    #[doc = "Getter for the `inputEncoding` field of this object."]
60    #[doc = ""]
61    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/inputEncoding)"]
62    #[doc = ""]
63    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
64    pub fn input_encoding(this: &Document) -> ::alloc::string::String;
65    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = contentType)]
66    #[doc = "Getter for the `contentType` field of this object."]
67    #[doc = ""]
68    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/contentType)"]
69    #[doc = ""]
70    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
71    pub fn content_type(this: &Document) -> ::alloc::string::String;
72    #[cfg(feature = "DocumentType")]
73    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = doctype)]
74    #[doc = "Getter for the `doctype` field of this object."]
75    #[doc = ""]
76    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/doctype)"]
77    #[doc = ""]
78    #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentType`*"]
79    pub fn doctype(this: &Document) -> Option<DocumentType>;
80    #[cfg(feature = "Element")]
81    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = documentElement)]
82    #[doc = "Getter for the `documentElement` field of this object."]
83    #[doc = ""]
84    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/documentElement)"]
85    #[doc = ""]
86    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
87    pub fn document_element(this: &Document) -> Option<Element>;
88    #[cfg(feature = "Location")]
89    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = location)]
90    #[doc = "Getter for the `location` field of this object."]
91    #[doc = ""]
92    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/location)"]
93    #[doc = ""]
94    #[doc = "*This API requires the following crate features to be activated: `Document`, `Location`*"]
95    pub fn location(this: &Document) -> Option<Location>;
96    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = referrer)]
97    #[doc = "Getter for the `referrer` field of this object."]
98    #[doc = ""]
99    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/referrer)"]
100    #[doc = ""]
101    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
102    pub fn referrer(this: &Document) -> ::alloc::string::String;
103    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastModified)]
104    #[doc = "Getter for the `lastModified` field of this object."]
105    #[doc = ""]
106    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified)"]
107    #[doc = ""]
108    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
109    pub fn last_modified(this: &Document) -> ::alloc::string::String;
110    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = readyState)]
111    #[doc = "Getter for the `readyState` field of this object."]
112    #[doc = ""]
113    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/readyState)"]
114    #[doc = ""]
115    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
116    pub fn ready_state(this: &Document) -> ::alloc::string::String;
117    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = title)]
118    #[doc = "Getter for the `title` field of this object."]
119    #[doc = ""]
120    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)"]
121    #[doc = ""]
122    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
123    pub fn title(this: &Document) -> ::alloc::string::String;
124    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = title)]
125    #[doc = "Setter for the `title` field of this object."]
126    #[doc = ""]
127    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/title)"]
128    #[doc = ""]
129    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
130    pub fn set_title(this: &Document, value: &str);
131    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = dir)]
132    #[doc = "Getter for the `dir` field of this object."]
133    #[doc = ""]
134    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)"]
135    #[doc = ""]
136    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
137    pub fn dir(this: &Document) -> ::alloc::string::String;
138    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = dir)]
139    #[doc = "Setter for the `dir` field of this object."]
140    #[doc = ""]
141    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/dir)"]
142    #[doc = ""]
143    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
144    pub fn set_dir(this: &Document, value: &str);
145    #[cfg(feature = "HtmlElement")]
146    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = body)]
147    #[doc = "Getter for the `body` field of this object."]
148    #[doc = ""]
149    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)"]
150    #[doc = ""]
151    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlElement`*"]
152    pub fn body(this: &Document) -> Option<HtmlElement>;
153    #[cfg(feature = "HtmlElement")]
154    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = body)]
155    #[doc = "Setter for the `body` field of this object."]
156    #[doc = ""]
157    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/body)"]
158    #[doc = ""]
159    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlElement`*"]
160    pub fn set_body(this: &Document, value: Option<&HtmlElement>);
161    #[cfg(feature = "HtmlHeadElement")]
162    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = head)]
163    #[doc = "Getter for the `head` field of this object."]
164    #[doc = ""]
165    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/head)"]
166    #[doc = ""]
167    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlHeadElement`*"]
168    pub fn head(this: &Document) -> Option<HtmlHeadElement>;
169    #[cfg(feature = "HtmlCollection")]
170    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = images)]
171    #[doc = "Getter for the `images` field of this object."]
172    #[doc = ""]
173    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/images)"]
174    #[doc = ""]
175    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
176    pub fn images(this: &Document) -> HtmlCollection;
177    #[cfg(feature = "HtmlCollection")]
178    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = embeds)]
179    #[doc = "Getter for the `embeds` field of this object."]
180    #[doc = ""]
181    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/embeds)"]
182    #[doc = ""]
183    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
184    pub fn embeds(this: &Document) -> HtmlCollection;
185    #[cfg(feature = "HtmlCollection")]
186    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = plugins)]
187    #[doc = "Getter for the `plugins` field of this object."]
188    #[doc = ""]
189    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/plugins)"]
190    #[doc = ""]
191    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
192    pub fn plugins(this: &Document) -> HtmlCollection;
193    #[cfg(feature = "HtmlCollection")]
194    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = links)]
195    #[doc = "Getter for the `links` field of this object."]
196    #[doc = ""]
197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/links)"]
198    #[doc = ""]
199    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
200    pub fn links(this: &Document) -> HtmlCollection;
201    #[cfg(feature = "HtmlCollection")]
202    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = forms)]
203    #[doc = "Getter for the `forms` field of this object."]
204    #[doc = ""]
205    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/forms)"]
206    #[doc = ""]
207    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
208    pub fn forms(this: &Document) -> HtmlCollection;
209    #[cfg(feature = "HtmlCollection")]
210    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = scripts)]
211    #[doc = "Getter for the `scripts` field of this object."]
212    #[doc = ""]
213    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scripts)"]
214    #[doc = ""]
215    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
216    pub fn scripts(this: &Document) -> HtmlCollection;
217    #[cfg(feature = "Window")]
218    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = defaultView)]
219    #[doc = "Getter for the `defaultView` field of this object."]
220    #[doc = ""]
221    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/defaultView)"]
222    #[doc = ""]
223    #[doc = "*This API requires the following crate features to be activated: `Document`, `Window`*"]
224    pub fn default_view(this: &Document) -> Option<Window>;
225    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onreadystatechange)]
226    #[doc = "Getter for the `onreadystatechange` field of this object."]
227    #[doc = ""]
228    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)"]
229    #[doc = ""]
230    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
231    pub fn onreadystatechange(this: &Document) -> Option<::js_sys::Function>;
232    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onreadystatechange)]
233    #[doc = "Setter for the `onreadystatechange` field of this object."]
234    #[doc = ""]
235    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreadystatechange)"]
236    #[doc = ""]
237    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
238    pub fn set_onreadystatechange(this: &Document, value: Option<&::js_sys::Function>);
239    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onbeforescriptexecute)]
240    #[doc = "Getter for the `onbeforescriptexecute` field of this object."]
241    #[doc = ""]
242    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)"]
243    #[doc = ""]
244    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
245    pub fn onbeforescriptexecute(this: &Document) -> Option<::js_sys::Function>;
246    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onbeforescriptexecute)]
247    #[doc = "Setter for the `onbeforescriptexecute` field of this object."]
248    #[doc = ""]
249    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforescriptexecute)"]
250    #[doc = ""]
251    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
252    pub fn set_onbeforescriptexecute(this: &Document, value: Option<&::js_sys::Function>);
253    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onafterscriptexecute)]
254    #[doc = "Getter for the `onafterscriptexecute` field of this object."]
255    #[doc = ""]
256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)"]
257    #[doc = ""]
258    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
259    pub fn onafterscriptexecute(this: &Document) -> Option<::js_sys::Function>;
260    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onafterscriptexecute)]
261    #[doc = "Setter for the `onafterscriptexecute` field of this object."]
262    #[doc = ""]
263    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onafterscriptexecute)"]
264    #[doc = ""]
265    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
266    pub fn set_onafterscriptexecute(this: &Document, value: Option<&::js_sys::Function>);
267    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselectionchange)]
268    #[doc = "Getter for the `onselectionchange` field of this object."]
269    #[doc = ""]
270    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)"]
271    #[doc = ""]
272    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
273    pub fn onselectionchange(this: &Document) -> Option<::js_sys::Function>;
274    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselectionchange)]
275    #[doc = "Setter for the `onselectionchange` field of this object."]
276    #[doc = ""]
277    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectionchange)"]
278    #[doc = ""]
279    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
280    pub fn set_onselectionchange(this: &Document, value: Option<&::js_sys::Function>);
281    #[cfg(feature = "Element")]
282    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = currentScript)]
283    #[doc = "Getter for the `currentScript` field of this object."]
284    #[doc = ""]
285    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)"]
286    #[doc = ""]
287    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
288    pub fn current_script(this: &Document) -> Option<Element>;
289    #[cfg(feature = "HtmlCollection")]
290    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = anchors)]
291    #[doc = "Getter for the `anchors` field of this object."]
292    #[doc = ""]
293    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/anchors)"]
294    #[doc = ""]
295    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
296    pub fn anchors(this: &Document) -> HtmlCollection;
297    #[cfg(feature = "HtmlCollection")]
298    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = applets)]
299    #[doc = "Getter for the `applets` field of this object."]
300    #[doc = ""]
301    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/applets)"]
302    #[doc = ""]
303    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
304    pub fn applets(this: &Document) -> HtmlCollection;
305    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fullscreen)]
306    #[doc = "Getter for the `fullscreen` field of this object."]
307    #[doc = ""]
308    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreen)"]
309    #[doc = ""]
310    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
311    pub fn fullscreen(this: &Document) -> bool;
312    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fullscreenEnabled)]
313    #[doc = "Getter for the `fullscreenEnabled` field of this object."]
314    #[doc = ""]
315    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenEnabled)"]
316    #[doc = ""]
317    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
318    pub fn fullscreen_enabled(this: &Document) -> bool;
319    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onfullscreenchange)]
320    #[doc = "Getter for the `onfullscreenchange` field of this object."]
321    #[doc = ""]
322    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)"]
323    #[doc = ""]
324    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
325    pub fn onfullscreenchange(this: &Document) -> Option<::js_sys::Function>;
326    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onfullscreenchange)]
327    #[doc = "Setter for the `onfullscreenchange` field of this object."]
328    #[doc = ""]
329    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenchange)"]
330    #[doc = ""]
331    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
332    pub fn set_onfullscreenchange(this: &Document, value: Option<&::js_sys::Function>);
333    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onfullscreenerror)]
334    #[doc = "Getter for the `onfullscreenerror` field of this object."]
335    #[doc = ""]
336    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)"]
337    #[doc = ""]
338    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
339    pub fn onfullscreenerror(this: &Document) -> Option<::js_sys::Function>;
340    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onfullscreenerror)]
341    #[doc = "Setter for the `onfullscreenerror` field of this object."]
342    #[doc = ""]
343    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfullscreenerror)"]
344    #[doc = ""]
345    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
346    pub fn set_onfullscreenerror(this: &Document, value: Option<&::js_sys::Function>);
347    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerlockchange)]
348    #[doc = "Getter for the `onpointerlockchange` field of this object."]
349    #[doc = ""]
350    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)"]
351    #[doc = ""]
352    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
353    pub fn onpointerlockchange(this: &Document) -> Option<::js_sys::Function>;
354    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerlockchange)]
355    #[doc = "Setter for the `onpointerlockchange` field of this object."]
356    #[doc = ""]
357    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockchange)"]
358    #[doc = ""]
359    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
360    pub fn set_onpointerlockchange(this: &Document, value: Option<&::js_sys::Function>);
361    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerlockerror)]
362    #[doc = "Getter for the `onpointerlockerror` field of this object."]
363    #[doc = ""]
364    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)"]
365    #[doc = ""]
366    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
367    pub fn onpointerlockerror(this: &Document) -> Option<::js_sys::Function>;
368    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerlockerror)]
369    #[doc = "Setter for the `onpointerlockerror` field of this object."]
370    #[doc = ""]
371    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerlockerror)"]
372    #[doc = ""]
373    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
374    pub fn set_onpointerlockerror(this: &Document, value: Option<&::js_sys::Function>);
375    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = hidden)]
376    #[doc = "Getter for the `hidden` field of this object."]
377    #[doc = ""]
378    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hidden)"]
379    #[doc = ""]
380    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
381    pub fn hidden(this: &Document) -> bool;
382    #[cfg(feature = "VisibilityState")]
383    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = visibilityState)]
384    #[doc = "Getter for the `visibilityState` field of this object."]
385    #[doc = ""]
386    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState)"]
387    #[doc = ""]
388    #[doc = "*This API requires the following crate features to be activated: `Document`, `VisibilityState`*"]
389    pub fn visibility_state(this: &Document) -> VisibilityState;
390    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onvisibilitychange)]
391    #[doc = "Getter for the `onvisibilitychange` field of this object."]
392    #[doc = ""]
393    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)"]
394    #[doc = ""]
395    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
396    pub fn onvisibilitychange(this: &Document) -> Option<::js_sys::Function>;
397    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onvisibilitychange)]
398    #[doc = "Setter for the `onvisibilitychange` field of this object."]
399    #[doc = ""]
400    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvisibilitychange)"]
401    #[doc = ""]
402    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
403    pub fn set_onvisibilitychange(this: &Document, value: Option<&::js_sys::Function>);
404    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = selectedStyleSheetSet)]
405    #[doc = "Getter for the `selectedStyleSheetSet` field of this object."]
406    #[doc = ""]
407    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)"]
408    #[doc = ""]
409    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
410    pub fn selected_style_sheet_set(this: &Document) -> Option<::alloc::string::String>;
411    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = selectedStyleSheetSet)]
412    #[doc = "Setter for the `selectedStyleSheetSet` field of this object."]
413    #[doc = ""]
414    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/selectedStyleSheetSet)"]
415    #[doc = ""]
416    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
417    pub fn set_selected_style_sheet_set(this: &Document, value: Option<&str>);
418    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastStyleSheetSet)]
419    #[doc = "Getter for the `lastStyleSheetSet` field of this object."]
420    #[doc = ""]
421    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastStyleSheetSet)"]
422    #[doc = ""]
423    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
424    pub fn last_style_sheet_set(this: &Document) -> Option<::alloc::string::String>;
425    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = preferredStyleSheetSet)]
426    #[doc = "Getter for the `preferredStyleSheetSet` field of this object."]
427    #[doc = ""]
428    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/preferredStyleSheetSet)"]
429    #[doc = ""]
430    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
431    pub fn preferred_style_sheet_set(this: &Document) -> Option<::alloc::string::String>;
432    #[cfg(feature = "DomStringList")]
433    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = styleSheetSets)]
434    #[doc = "Getter for the `styleSheetSets` field of this object."]
435    #[doc = ""]
436    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheetSets)"]
437    #[doc = ""]
438    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomStringList`*"]
439    pub fn style_sheet_sets(this: &Document) -> DomStringList;
440    #[cfg(feature = "Element")]
441    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = scrollingElement)]
442    #[doc = "Getter for the `scrollingElement` field of this object."]
443    #[doc = ""]
444    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement)"]
445    #[doc = ""]
446    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
447    pub fn scrolling_element(this: &Document) -> Option<Element>;
448    #[cfg(feature = "DocumentTimeline")]
449    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = timeline)]
450    #[doc = "Getter for the `timeline` field of this object."]
451    #[doc = ""]
452    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/timeline)"]
453    #[doc = ""]
454    #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentTimeline`*"]
455    pub fn timeline(this: &Document) -> DocumentTimeline;
456    #[cfg(feature = "SvgsvgElement")]
457    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = rootElement)]
458    #[doc = "Getter for the `rootElement` field of this object."]
459    #[doc = ""]
460    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/rootElement)"]
461    #[doc = ""]
462    #[doc = "*This API requires the following crate features to be activated: `Document`, `SvgsvgElement`*"]
463    pub fn root_element(this: &Document) -> Option<SvgsvgElement>;
464    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncopy)]
465    #[doc = "Getter for the `oncopy` field of this object."]
466    #[doc = ""]
467    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)"]
468    #[doc = ""]
469    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
470    pub fn oncopy(this: &Document) -> Option<::js_sys::Function>;
471    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncopy)]
472    #[doc = "Setter for the `oncopy` field of this object."]
473    #[doc = ""]
474    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncopy)"]
475    #[doc = ""]
476    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
477    pub fn set_oncopy(this: &Document, value: Option<&::js_sys::Function>);
478    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncut)]
479    #[doc = "Getter for the `oncut` field of this object."]
480    #[doc = ""]
481    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)"]
482    #[doc = ""]
483    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
484    pub fn oncut(this: &Document) -> Option<::js_sys::Function>;
485    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncut)]
486    #[doc = "Setter for the `oncut` field of this object."]
487    #[doc = ""]
488    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncut)"]
489    #[doc = ""]
490    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
491    pub fn set_oncut(this: &Document, value: Option<&::js_sys::Function>);
492    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpaste)]
493    #[doc = "Getter for the `onpaste` field of this object."]
494    #[doc = ""]
495    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)"]
496    #[doc = ""]
497    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
498    pub fn onpaste(this: &Document) -> Option<::js_sys::Function>;
499    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpaste)]
500    #[doc = "Setter for the `onpaste` field of this object."]
501    #[doc = ""]
502    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpaste)"]
503    #[doc = ""]
504    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
505    pub fn set_onpaste(this: &Document, value: Option<&::js_sys::Function>);
506    #[cfg(feature = "Element")]
507    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = activeElement)]
508    #[doc = "Getter for the `activeElement` field of this object."]
509    #[doc = ""]
510    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement)"]
511    #[doc = ""]
512    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
513    pub fn active_element(this: &Document) -> Option<Element>;
514    #[cfg(feature = "StyleSheetList")]
515    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = styleSheets)]
516    #[doc = "Getter for the `styleSheets` field of this object."]
517    #[doc = ""]
518    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/styleSheets)"]
519    #[doc = ""]
520    #[doc = "*This API requires the following crate features to be activated: `Document`, `StyleSheetList`*"]
521    pub fn style_sheets(this: &Document) -> StyleSheetList;
522    #[cfg(feature = "Element")]
523    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = pointerLockElement)]
524    #[doc = "Getter for the `pointerLockElement` field of this object."]
525    #[doc = ""]
526    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/pointerLockElement)"]
527    #[doc = ""]
528    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
529    pub fn pointer_lock_element(this: &Document) -> Option<Element>;
530    #[cfg(feature = "Element")]
531    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fullscreenElement)]
532    #[doc = "Getter for the `fullscreenElement` field of this object."]
533    #[doc = ""]
534    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenElement)"]
535    #[doc = ""]
536    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
537    pub fn fullscreen_element(this: &Document) -> Option<Element>;
538    #[cfg(feature = "FontFaceSet")]
539    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = fonts)]
540    #[doc = "Getter for the `fonts` field of this object."]
541    #[doc = ""]
542    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/fonts)"]
543    #[doc = ""]
544    #[doc = "*This API requires the following crate features to be activated: `Document`, `FontFaceSet`*"]
545    pub fn fonts(this: &Document) -> FontFaceSet;
546    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onabort)]
547    #[doc = "Getter for the `onabort` field of this object."]
548    #[doc = ""]
549    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)"]
550    #[doc = ""]
551    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
552    pub fn onabort(this: &Document) -> Option<::js_sys::Function>;
553    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onabort)]
554    #[doc = "Setter for the `onabort` field of this object."]
555    #[doc = ""]
556    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onabort)"]
557    #[doc = ""]
558    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
559    pub fn set_onabort(this: &Document, value: Option<&::js_sys::Function>);
560    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onblur)]
561    #[doc = "Getter for the `onblur` field of this object."]
562    #[doc = ""]
563    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)"]
564    #[doc = ""]
565    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
566    pub fn onblur(this: &Document) -> Option<::js_sys::Function>;
567    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onblur)]
568    #[doc = "Setter for the `onblur` field of this object."]
569    #[doc = ""]
570    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onblur)"]
571    #[doc = ""]
572    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
573    pub fn set_onblur(this: &Document, value: Option<&::js_sys::Function>);
574    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onfocus)]
575    #[doc = "Getter for the `onfocus` field of this object."]
576    #[doc = ""]
577    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)"]
578    #[doc = ""]
579    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
580    pub fn onfocus(this: &Document) -> Option<::js_sys::Function>;
581    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onfocus)]
582    #[doc = "Setter for the `onfocus` field of this object."]
583    #[doc = ""]
584    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onfocus)"]
585    #[doc = ""]
586    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
587    pub fn set_onfocus(this: &Document, value: Option<&::js_sys::Function>);
588    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onauxclick)]
589    #[doc = "Getter for the `onauxclick` field of this object."]
590    #[doc = ""]
591    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)"]
592    #[doc = ""]
593    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
594    pub fn onauxclick(this: &Document) -> Option<::js_sys::Function>;
595    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onauxclick)]
596    #[doc = "Setter for the `onauxclick` field of this object."]
597    #[doc = ""]
598    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onauxclick)"]
599    #[doc = ""]
600    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
601    pub fn set_onauxclick(this: &Document, value: Option<&::js_sys::Function>);
602    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onbeforetoggle)]
603    #[doc = "Getter for the `onbeforetoggle` field of this object."]
604    #[doc = ""]
605    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforetoggle)"]
606    #[doc = ""]
607    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
608    pub fn onbeforetoggle(this: &Document) -> Option<::js_sys::Function>;
609    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onbeforetoggle)]
610    #[doc = "Setter for the `onbeforetoggle` field of this object."]
611    #[doc = ""]
612    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onbeforetoggle)"]
613    #[doc = ""]
614    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
615    pub fn set_onbeforetoggle(this: &Document, value: Option<&::js_sys::Function>);
616    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncanplay)]
617    #[doc = "Getter for the `oncanplay` field of this object."]
618    #[doc = ""]
619    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)"]
620    #[doc = ""]
621    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
622    pub fn oncanplay(this: &Document) -> Option<::js_sys::Function>;
623    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncanplay)]
624    #[doc = "Setter for the `oncanplay` field of this object."]
625    #[doc = ""]
626    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)"]
627    #[doc = ""]
628    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
629    pub fn set_oncanplay(this: &Document, value: Option<&::js_sys::Function>);
630    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncanplaythrough)]
631    #[doc = "Getter for the `oncanplaythrough` field of this object."]
632    #[doc = ""]
633    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)"]
634    #[doc = ""]
635    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
636    pub fn oncanplaythrough(this: &Document) -> Option<::js_sys::Function>;
637    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncanplaythrough)]
638    #[doc = "Setter for the `oncanplaythrough` field of this object."]
639    #[doc = ""]
640    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)"]
641    #[doc = ""]
642    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
643    pub fn set_oncanplaythrough(this: &Document, value: Option<&::js_sys::Function>);
644    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onchange)]
645    #[doc = "Getter for the `onchange` field of this object."]
646    #[doc = ""]
647    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)"]
648    #[doc = ""]
649    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
650    pub fn onchange(this: &Document) -> Option<::js_sys::Function>;
651    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onchange)]
652    #[doc = "Setter for the `onchange` field of this object."]
653    #[doc = ""]
654    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)"]
655    #[doc = ""]
656    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
657    pub fn set_onchange(this: &Document, value: Option<&::js_sys::Function>);
658    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onclick)]
659    #[doc = "Getter for the `onclick` field of this object."]
660    #[doc = ""]
661    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)"]
662    #[doc = ""]
663    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
664    pub fn onclick(this: &Document) -> Option<::js_sys::Function>;
665    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onclick)]
666    #[doc = "Setter for the `onclick` field of this object."]
667    #[doc = ""]
668    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)"]
669    #[doc = ""]
670    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
671    pub fn set_onclick(this: &Document, value: Option<&::js_sys::Function>);
672    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onclose)]
673    #[doc = "Getter for the `onclose` field of this object."]
674    #[doc = ""]
675    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)"]
676    #[doc = ""]
677    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
678    pub fn onclose(this: &Document) -> Option<::js_sys::Function>;
679    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onclose)]
680    #[doc = "Setter for the `onclose` field of this object."]
681    #[doc = ""]
682    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)"]
683    #[doc = ""]
684    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
685    pub fn set_onclose(this: &Document, value: Option<&::js_sys::Function>);
686    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncontextmenu)]
687    #[doc = "Getter for the `oncontextmenu` field of this object."]
688    #[doc = ""]
689    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)"]
690    #[doc = ""]
691    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
692    pub fn oncontextmenu(this: &Document) -> Option<::js_sys::Function>;
693    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncontextmenu)]
694    #[doc = "Setter for the `oncontextmenu` field of this object."]
695    #[doc = ""]
696    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)"]
697    #[doc = ""]
698    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
699    pub fn set_oncontextmenu(this: &Document, value: Option<&::js_sys::Function>);
700    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondblclick)]
701    #[doc = "Getter for the `ondblclick` field of this object."]
702    #[doc = ""]
703    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)"]
704    #[doc = ""]
705    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
706    pub fn ondblclick(this: &Document) -> Option<::js_sys::Function>;
707    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondblclick)]
708    #[doc = "Setter for the `ondblclick` field of this object."]
709    #[doc = ""]
710    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)"]
711    #[doc = ""]
712    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
713    pub fn set_ondblclick(this: &Document, value: Option<&::js_sys::Function>);
714    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondrag)]
715    #[doc = "Getter for the `ondrag` field of this object."]
716    #[doc = ""]
717    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)"]
718    #[doc = ""]
719    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
720    pub fn ondrag(this: &Document) -> Option<::js_sys::Function>;
721    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondrag)]
722    #[doc = "Setter for the `ondrag` field of this object."]
723    #[doc = ""]
724    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)"]
725    #[doc = ""]
726    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
727    pub fn set_ondrag(this: &Document, value: Option<&::js_sys::Function>);
728    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragend)]
729    #[doc = "Getter for the `ondragend` field of this object."]
730    #[doc = ""]
731    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)"]
732    #[doc = ""]
733    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
734    pub fn ondragend(this: &Document) -> Option<::js_sys::Function>;
735    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragend)]
736    #[doc = "Setter for the `ondragend` field of this object."]
737    #[doc = ""]
738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)"]
739    #[doc = ""]
740    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
741    pub fn set_ondragend(this: &Document, value: Option<&::js_sys::Function>);
742    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragenter)]
743    #[doc = "Getter for the `ondragenter` field of this object."]
744    #[doc = ""]
745    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)"]
746    #[doc = ""]
747    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
748    pub fn ondragenter(this: &Document) -> Option<::js_sys::Function>;
749    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragenter)]
750    #[doc = "Setter for the `ondragenter` field of this object."]
751    #[doc = ""]
752    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)"]
753    #[doc = ""]
754    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
755    pub fn set_ondragenter(this: &Document, value: Option<&::js_sys::Function>);
756    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragexit)]
757    #[doc = "Getter for the `ondragexit` field of this object."]
758    #[doc = ""]
759    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)"]
760    #[doc = ""]
761    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
762    pub fn ondragexit(this: &Document) -> Option<::js_sys::Function>;
763    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragexit)]
764    #[doc = "Setter for the `ondragexit` field of this object."]
765    #[doc = ""]
766    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)"]
767    #[doc = ""]
768    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
769    pub fn set_ondragexit(this: &Document, value: Option<&::js_sys::Function>);
770    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragleave)]
771    #[doc = "Getter for the `ondragleave` field of this object."]
772    #[doc = ""]
773    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)"]
774    #[doc = ""]
775    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
776    pub fn ondragleave(this: &Document) -> Option<::js_sys::Function>;
777    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragleave)]
778    #[doc = "Setter for the `ondragleave` field of this object."]
779    #[doc = ""]
780    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)"]
781    #[doc = ""]
782    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
783    pub fn set_ondragleave(this: &Document, value: Option<&::js_sys::Function>);
784    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragover)]
785    #[doc = "Getter for the `ondragover` field of this object."]
786    #[doc = ""]
787    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)"]
788    #[doc = ""]
789    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
790    pub fn ondragover(this: &Document) -> Option<::js_sys::Function>;
791    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragover)]
792    #[doc = "Setter for the `ondragover` field of this object."]
793    #[doc = ""]
794    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)"]
795    #[doc = ""]
796    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
797    pub fn set_ondragover(this: &Document, value: Option<&::js_sys::Function>);
798    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragstart)]
799    #[doc = "Getter for the `ondragstart` field of this object."]
800    #[doc = ""]
801    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)"]
802    #[doc = ""]
803    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
804    pub fn ondragstart(this: &Document) -> Option<::js_sys::Function>;
805    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragstart)]
806    #[doc = "Setter for the `ondragstart` field of this object."]
807    #[doc = ""]
808    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)"]
809    #[doc = ""]
810    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
811    pub fn set_ondragstart(this: &Document, value: Option<&::js_sys::Function>);
812    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondrop)]
813    #[doc = "Getter for the `ondrop` field of this object."]
814    #[doc = ""]
815    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)"]
816    #[doc = ""]
817    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
818    pub fn ondrop(this: &Document) -> Option<::js_sys::Function>;
819    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondrop)]
820    #[doc = "Setter for the `ondrop` field of this object."]
821    #[doc = ""]
822    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)"]
823    #[doc = ""]
824    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
825    pub fn set_ondrop(this: &Document, value: Option<&::js_sys::Function>);
826    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondurationchange)]
827    #[doc = "Getter for the `ondurationchange` field of this object."]
828    #[doc = ""]
829    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)"]
830    #[doc = ""]
831    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
832    pub fn ondurationchange(this: &Document) -> Option<::js_sys::Function>;
833    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondurationchange)]
834    #[doc = "Setter for the `ondurationchange` field of this object."]
835    #[doc = ""]
836    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)"]
837    #[doc = ""]
838    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
839    pub fn set_ondurationchange(this: &Document, value: Option<&::js_sys::Function>);
840    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onemptied)]
841    #[doc = "Getter for the `onemptied` field of this object."]
842    #[doc = ""]
843    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)"]
844    #[doc = ""]
845    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
846    pub fn onemptied(this: &Document) -> Option<::js_sys::Function>;
847    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onemptied)]
848    #[doc = "Setter for the `onemptied` field of this object."]
849    #[doc = ""]
850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)"]
851    #[doc = ""]
852    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
853    pub fn set_onemptied(this: &Document, value: Option<&::js_sys::Function>);
854    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onended)]
855    #[doc = "Getter for the `onended` field of this object."]
856    #[doc = ""]
857    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)"]
858    #[doc = ""]
859    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
860    pub fn onended(this: &Document) -> Option<::js_sys::Function>;
861    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onended)]
862    #[doc = "Setter for the `onended` field of this object."]
863    #[doc = ""]
864    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)"]
865    #[doc = ""]
866    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
867    pub fn set_onended(this: &Document, value: Option<&::js_sys::Function>);
868    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oninput)]
869    #[doc = "Getter for the `oninput` field of this object."]
870    #[doc = ""]
871    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)"]
872    #[doc = ""]
873    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
874    pub fn oninput(this: &Document) -> Option<::js_sys::Function>;
875    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oninput)]
876    #[doc = "Setter for the `oninput` field of this object."]
877    #[doc = ""]
878    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)"]
879    #[doc = ""]
880    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
881    pub fn set_oninput(this: &Document, value: Option<&::js_sys::Function>);
882    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oninvalid)]
883    #[doc = "Getter for the `oninvalid` field of this object."]
884    #[doc = ""]
885    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)"]
886    #[doc = ""]
887    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
888    pub fn oninvalid(this: &Document) -> Option<::js_sys::Function>;
889    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oninvalid)]
890    #[doc = "Setter for the `oninvalid` field of this object."]
891    #[doc = ""]
892    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)"]
893    #[doc = ""]
894    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
895    pub fn set_oninvalid(this: &Document, value: Option<&::js_sys::Function>);
896    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeydown)]
897    #[doc = "Getter for the `onkeydown` field of this object."]
898    #[doc = ""]
899    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)"]
900    #[doc = ""]
901    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
902    pub fn onkeydown(this: &Document) -> Option<::js_sys::Function>;
903    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeydown)]
904    #[doc = "Setter for the `onkeydown` field of this object."]
905    #[doc = ""]
906    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)"]
907    #[doc = ""]
908    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
909    pub fn set_onkeydown(this: &Document, value: Option<&::js_sys::Function>);
910    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeypress)]
911    #[doc = "Getter for the `onkeypress` field of this object."]
912    #[doc = ""]
913    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)"]
914    #[doc = ""]
915    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
916    pub fn onkeypress(this: &Document) -> Option<::js_sys::Function>;
917    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeypress)]
918    #[doc = "Setter for the `onkeypress` field of this object."]
919    #[doc = ""]
920    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)"]
921    #[doc = ""]
922    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
923    pub fn set_onkeypress(this: &Document, value: Option<&::js_sys::Function>);
924    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeyup)]
925    #[doc = "Getter for the `onkeyup` field of this object."]
926    #[doc = ""]
927    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)"]
928    #[doc = ""]
929    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
930    pub fn onkeyup(this: &Document) -> Option<::js_sys::Function>;
931    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeyup)]
932    #[doc = "Setter for the `onkeyup` field of this object."]
933    #[doc = ""]
934    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)"]
935    #[doc = ""]
936    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
937    pub fn set_onkeyup(this: &Document, value: Option<&::js_sys::Function>);
938    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onload)]
939    #[doc = "Getter for the `onload` field of this object."]
940    #[doc = ""]
941    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)"]
942    #[doc = ""]
943    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
944    pub fn onload(this: &Document) -> Option<::js_sys::Function>;
945    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onload)]
946    #[doc = "Setter for the `onload` field of this object."]
947    #[doc = ""]
948    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)"]
949    #[doc = ""]
950    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
951    pub fn set_onload(this: &Document, value: Option<&::js_sys::Function>);
952    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadeddata)]
953    #[doc = "Getter for the `onloadeddata` field of this object."]
954    #[doc = ""]
955    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)"]
956    #[doc = ""]
957    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
958    pub fn onloadeddata(this: &Document) -> Option<::js_sys::Function>;
959    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadeddata)]
960    #[doc = "Setter for the `onloadeddata` field of this object."]
961    #[doc = ""]
962    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)"]
963    #[doc = ""]
964    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
965    pub fn set_onloadeddata(this: &Document, value: Option<&::js_sys::Function>);
966    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadedmetadata)]
967    #[doc = "Getter for the `onloadedmetadata` field of this object."]
968    #[doc = ""]
969    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)"]
970    #[doc = ""]
971    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
972    pub fn onloadedmetadata(this: &Document) -> Option<::js_sys::Function>;
973    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadedmetadata)]
974    #[doc = "Setter for the `onloadedmetadata` field of this object."]
975    #[doc = ""]
976    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)"]
977    #[doc = ""]
978    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
979    pub fn set_onloadedmetadata(this: &Document, value: Option<&::js_sys::Function>);
980    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadend)]
981    #[doc = "Getter for the `onloadend` field of this object."]
982    #[doc = ""]
983    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)"]
984    #[doc = ""]
985    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
986    pub fn onloadend(this: &Document) -> Option<::js_sys::Function>;
987    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadend)]
988    #[doc = "Setter for the `onloadend` field of this object."]
989    #[doc = ""]
990    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)"]
991    #[doc = ""]
992    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
993    pub fn set_onloadend(this: &Document, value: Option<&::js_sys::Function>);
994    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadstart)]
995    #[doc = "Getter for the `onloadstart` field of this object."]
996    #[doc = ""]
997    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)"]
998    #[doc = ""]
999    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1000    pub fn onloadstart(this: &Document) -> Option<::js_sys::Function>;
1001    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadstart)]
1002    #[doc = "Setter for the `onloadstart` field of this object."]
1003    #[doc = ""]
1004    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)"]
1005    #[doc = ""]
1006    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1007    pub fn set_onloadstart(this: &Document, value: Option<&::js_sys::Function>);
1008    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmousedown)]
1009    #[doc = "Getter for the `onmousedown` field of this object."]
1010    #[doc = ""]
1011    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)"]
1012    #[doc = ""]
1013    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1014    pub fn onmousedown(this: &Document) -> Option<::js_sys::Function>;
1015    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmousedown)]
1016    #[doc = "Setter for the `onmousedown` field of this object."]
1017    #[doc = ""]
1018    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)"]
1019    #[doc = ""]
1020    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1021    pub fn set_onmousedown(this: &Document, value: Option<&::js_sys::Function>);
1022    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseenter)]
1023    #[doc = "Getter for the `onmouseenter` field of this object."]
1024    #[doc = ""]
1025    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)"]
1026    #[doc = ""]
1027    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1028    pub fn onmouseenter(this: &Document) -> Option<::js_sys::Function>;
1029    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseenter)]
1030    #[doc = "Setter for the `onmouseenter` field of this object."]
1031    #[doc = ""]
1032    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)"]
1033    #[doc = ""]
1034    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1035    pub fn set_onmouseenter(this: &Document, value: Option<&::js_sys::Function>);
1036    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseleave)]
1037    #[doc = "Getter for the `onmouseleave` field of this object."]
1038    #[doc = ""]
1039    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)"]
1040    #[doc = ""]
1041    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1042    pub fn onmouseleave(this: &Document) -> Option<::js_sys::Function>;
1043    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseleave)]
1044    #[doc = "Setter for the `onmouseleave` field of this object."]
1045    #[doc = ""]
1046    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)"]
1047    #[doc = ""]
1048    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1049    pub fn set_onmouseleave(this: &Document, value: Option<&::js_sys::Function>);
1050    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmousemove)]
1051    #[doc = "Getter for the `onmousemove` field of this object."]
1052    #[doc = ""]
1053    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)"]
1054    #[doc = ""]
1055    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1056    pub fn onmousemove(this: &Document) -> Option<::js_sys::Function>;
1057    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmousemove)]
1058    #[doc = "Setter for the `onmousemove` field of this object."]
1059    #[doc = ""]
1060    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)"]
1061    #[doc = ""]
1062    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1063    pub fn set_onmousemove(this: &Document, value: Option<&::js_sys::Function>);
1064    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseout)]
1065    #[doc = "Getter for the `onmouseout` field of this object."]
1066    #[doc = ""]
1067    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)"]
1068    #[doc = ""]
1069    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1070    pub fn onmouseout(this: &Document) -> Option<::js_sys::Function>;
1071    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseout)]
1072    #[doc = "Setter for the `onmouseout` field of this object."]
1073    #[doc = ""]
1074    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)"]
1075    #[doc = ""]
1076    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1077    pub fn set_onmouseout(this: &Document, value: Option<&::js_sys::Function>);
1078    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseover)]
1079    #[doc = "Getter for the `onmouseover` field of this object."]
1080    #[doc = ""]
1081    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)"]
1082    #[doc = ""]
1083    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1084    pub fn onmouseover(this: &Document) -> Option<::js_sys::Function>;
1085    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseover)]
1086    #[doc = "Setter for the `onmouseover` field of this object."]
1087    #[doc = ""]
1088    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)"]
1089    #[doc = ""]
1090    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1091    pub fn set_onmouseover(this: &Document, value: Option<&::js_sys::Function>);
1092    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseup)]
1093    #[doc = "Getter for the `onmouseup` field of this object."]
1094    #[doc = ""]
1095    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)"]
1096    #[doc = ""]
1097    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1098    pub fn onmouseup(this: &Document) -> Option<::js_sys::Function>;
1099    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseup)]
1100    #[doc = "Setter for the `onmouseup` field of this object."]
1101    #[doc = ""]
1102    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)"]
1103    #[doc = ""]
1104    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1105    pub fn set_onmouseup(this: &Document, value: Option<&::js_sys::Function>);
1106    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwheel)]
1107    #[doc = "Getter for the `onwheel` field of this object."]
1108    #[doc = ""]
1109    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)"]
1110    #[doc = ""]
1111    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1112    pub fn onwheel(this: &Document) -> Option<::js_sys::Function>;
1113    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwheel)]
1114    #[doc = "Setter for the `onwheel` field of this object."]
1115    #[doc = ""]
1116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)"]
1117    #[doc = ""]
1118    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1119    pub fn set_onwheel(this: &Document, value: Option<&::js_sys::Function>);
1120    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpause)]
1121    #[doc = "Getter for the `onpause` field of this object."]
1122    #[doc = ""]
1123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)"]
1124    #[doc = ""]
1125    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1126    pub fn onpause(this: &Document) -> Option<::js_sys::Function>;
1127    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpause)]
1128    #[doc = "Setter for the `onpause` field of this object."]
1129    #[doc = ""]
1130    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)"]
1131    #[doc = ""]
1132    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1133    pub fn set_onpause(this: &Document, value: Option<&::js_sys::Function>);
1134    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onplay)]
1135    #[doc = "Getter for the `onplay` field of this object."]
1136    #[doc = ""]
1137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)"]
1138    #[doc = ""]
1139    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1140    pub fn onplay(this: &Document) -> Option<::js_sys::Function>;
1141    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onplay)]
1142    #[doc = "Setter for the `onplay` field of this object."]
1143    #[doc = ""]
1144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)"]
1145    #[doc = ""]
1146    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1147    pub fn set_onplay(this: &Document, value: Option<&::js_sys::Function>);
1148    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onplaying)]
1149    #[doc = "Getter for the `onplaying` field of this object."]
1150    #[doc = ""]
1151    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)"]
1152    #[doc = ""]
1153    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1154    pub fn onplaying(this: &Document) -> Option<::js_sys::Function>;
1155    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onplaying)]
1156    #[doc = "Setter for the `onplaying` field of this object."]
1157    #[doc = ""]
1158    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)"]
1159    #[doc = ""]
1160    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1161    pub fn set_onplaying(this: &Document, value: Option<&::js_sys::Function>);
1162    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onprogress)]
1163    #[doc = "Getter for the `onprogress` field of this object."]
1164    #[doc = ""]
1165    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)"]
1166    #[doc = ""]
1167    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1168    pub fn onprogress(this: &Document) -> Option<::js_sys::Function>;
1169    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onprogress)]
1170    #[doc = "Setter for the `onprogress` field of this object."]
1171    #[doc = ""]
1172    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)"]
1173    #[doc = ""]
1174    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1175    pub fn set_onprogress(this: &Document, value: Option<&::js_sys::Function>);
1176    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onratechange)]
1177    #[doc = "Getter for the `onratechange` field of this object."]
1178    #[doc = ""]
1179    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)"]
1180    #[doc = ""]
1181    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1182    pub fn onratechange(this: &Document) -> Option<::js_sys::Function>;
1183    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onratechange)]
1184    #[doc = "Setter for the `onratechange` field of this object."]
1185    #[doc = ""]
1186    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)"]
1187    #[doc = ""]
1188    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1189    pub fn set_onratechange(this: &Document, value: Option<&::js_sys::Function>);
1190    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onreset)]
1191    #[doc = "Getter for the `onreset` field of this object."]
1192    #[doc = ""]
1193    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)"]
1194    #[doc = ""]
1195    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1196    pub fn onreset(this: &Document) -> Option<::js_sys::Function>;
1197    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onreset)]
1198    #[doc = "Setter for the `onreset` field of this object."]
1199    #[doc = ""]
1200    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)"]
1201    #[doc = ""]
1202    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1203    pub fn set_onreset(this: &Document, value: Option<&::js_sys::Function>);
1204    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onresize)]
1205    #[doc = "Getter for the `onresize` field of this object."]
1206    #[doc = ""]
1207    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)"]
1208    #[doc = ""]
1209    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1210    pub fn onresize(this: &Document) -> Option<::js_sys::Function>;
1211    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onresize)]
1212    #[doc = "Setter for the `onresize` field of this object."]
1213    #[doc = ""]
1214    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)"]
1215    #[doc = ""]
1216    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1217    pub fn set_onresize(this: &Document, value: Option<&::js_sys::Function>);
1218    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onscroll)]
1219    #[doc = "Getter for the `onscroll` field of this object."]
1220    #[doc = ""]
1221    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)"]
1222    #[doc = ""]
1223    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1224    pub fn onscroll(this: &Document) -> Option<::js_sys::Function>;
1225    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onscroll)]
1226    #[doc = "Setter for the `onscroll` field of this object."]
1227    #[doc = ""]
1228    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)"]
1229    #[doc = ""]
1230    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1231    pub fn set_onscroll(this: &Document, value: Option<&::js_sys::Function>);
1232    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onseeked)]
1233    #[doc = "Getter for the `onseeked` field of this object."]
1234    #[doc = ""]
1235    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)"]
1236    #[doc = ""]
1237    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1238    pub fn onseeked(this: &Document) -> Option<::js_sys::Function>;
1239    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onseeked)]
1240    #[doc = "Setter for the `onseeked` field of this object."]
1241    #[doc = ""]
1242    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)"]
1243    #[doc = ""]
1244    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1245    pub fn set_onseeked(this: &Document, value: Option<&::js_sys::Function>);
1246    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onseeking)]
1247    #[doc = "Getter for the `onseeking` field of this object."]
1248    #[doc = ""]
1249    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)"]
1250    #[doc = ""]
1251    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1252    pub fn onseeking(this: &Document) -> Option<::js_sys::Function>;
1253    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onseeking)]
1254    #[doc = "Setter for the `onseeking` field of this object."]
1255    #[doc = ""]
1256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)"]
1257    #[doc = ""]
1258    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1259    pub fn set_onseeking(this: &Document, value: Option<&::js_sys::Function>);
1260    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselect)]
1261    #[doc = "Getter for the `onselect` field of this object."]
1262    #[doc = ""]
1263    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)"]
1264    #[doc = ""]
1265    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1266    pub fn onselect(this: &Document) -> Option<::js_sys::Function>;
1267    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselect)]
1268    #[doc = "Setter for the `onselect` field of this object."]
1269    #[doc = ""]
1270    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)"]
1271    #[doc = ""]
1272    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1273    pub fn set_onselect(this: &Document, value: Option<&::js_sys::Function>);
1274    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onshow)]
1275    #[doc = "Getter for the `onshow` field of this object."]
1276    #[doc = ""]
1277    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)"]
1278    #[doc = ""]
1279    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1280    pub fn onshow(this: &Document) -> Option<::js_sys::Function>;
1281    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onshow)]
1282    #[doc = "Setter for the `onshow` field of this object."]
1283    #[doc = ""]
1284    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)"]
1285    #[doc = ""]
1286    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1287    pub fn set_onshow(this: &Document, value: Option<&::js_sys::Function>);
1288    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onstalled)]
1289    #[doc = "Getter for the `onstalled` field of this object."]
1290    #[doc = ""]
1291    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)"]
1292    #[doc = ""]
1293    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1294    pub fn onstalled(this: &Document) -> Option<::js_sys::Function>;
1295    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onstalled)]
1296    #[doc = "Setter for the `onstalled` field of this object."]
1297    #[doc = ""]
1298    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)"]
1299    #[doc = ""]
1300    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1301    pub fn set_onstalled(this: &Document, value: Option<&::js_sys::Function>);
1302    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onsubmit)]
1303    #[doc = "Getter for the `onsubmit` field of this object."]
1304    #[doc = ""]
1305    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)"]
1306    #[doc = ""]
1307    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1308    pub fn onsubmit(this: &Document) -> Option<::js_sys::Function>;
1309    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onsubmit)]
1310    #[doc = "Setter for the `onsubmit` field of this object."]
1311    #[doc = ""]
1312    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)"]
1313    #[doc = ""]
1314    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1315    pub fn set_onsubmit(this: &Document, value: Option<&::js_sys::Function>);
1316    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onsuspend)]
1317    #[doc = "Getter for the `onsuspend` field of this object."]
1318    #[doc = ""]
1319    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)"]
1320    #[doc = ""]
1321    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1322    pub fn onsuspend(this: &Document) -> Option<::js_sys::Function>;
1323    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onsuspend)]
1324    #[doc = "Setter for the `onsuspend` field of this object."]
1325    #[doc = ""]
1326    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)"]
1327    #[doc = ""]
1328    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1329    pub fn set_onsuspend(this: &Document, value: Option<&::js_sys::Function>);
1330    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontimeupdate)]
1331    #[doc = "Getter for the `ontimeupdate` field of this object."]
1332    #[doc = ""]
1333    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)"]
1334    #[doc = ""]
1335    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1336    pub fn ontimeupdate(this: &Document) -> Option<::js_sys::Function>;
1337    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontimeupdate)]
1338    #[doc = "Setter for the `ontimeupdate` field of this object."]
1339    #[doc = ""]
1340    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)"]
1341    #[doc = ""]
1342    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1343    pub fn set_ontimeupdate(this: &Document, value: Option<&::js_sys::Function>);
1344    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onvolumechange)]
1345    #[doc = "Getter for the `onvolumechange` field of this object."]
1346    #[doc = ""]
1347    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)"]
1348    #[doc = ""]
1349    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1350    pub fn onvolumechange(this: &Document) -> Option<::js_sys::Function>;
1351    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onvolumechange)]
1352    #[doc = "Setter for the `onvolumechange` field of this object."]
1353    #[doc = ""]
1354    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)"]
1355    #[doc = ""]
1356    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1357    pub fn set_onvolumechange(this: &Document, value: Option<&::js_sys::Function>);
1358    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwaiting)]
1359    #[doc = "Getter for the `onwaiting` field of this object."]
1360    #[doc = ""]
1361    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)"]
1362    #[doc = ""]
1363    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1364    pub fn onwaiting(this: &Document) -> Option<::js_sys::Function>;
1365    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwaiting)]
1366    #[doc = "Setter for the `onwaiting` field of this object."]
1367    #[doc = ""]
1368    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)"]
1369    #[doc = ""]
1370    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1371    pub fn set_onwaiting(this: &Document, value: Option<&::js_sys::Function>);
1372    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselectstart)]
1373    #[doc = "Getter for the `onselectstart` field of this object."]
1374    #[doc = ""]
1375    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)"]
1376    #[doc = ""]
1377    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1378    pub fn onselectstart(this: &Document) -> Option<::js_sys::Function>;
1379    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselectstart)]
1380    #[doc = "Setter for the `onselectstart` field of this object."]
1381    #[doc = ""]
1382    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)"]
1383    #[doc = ""]
1384    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1385    pub fn set_onselectstart(this: &Document, value: Option<&::js_sys::Function>);
1386    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontoggle)]
1387    #[doc = "Getter for the `ontoggle` field of this object."]
1388    #[doc = ""]
1389    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)"]
1390    #[doc = ""]
1391    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1392    pub fn ontoggle(this: &Document) -> Option<::js_sys::Function>;
1393    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontoggle)]
1394    #[doc = "Setter for the `ontoggle` field of this object."]
1395    #[doc = ""]
1396    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)"]
1397    #[doc = ""]
1398    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1399    pub fn set_ontoggle(this: &Document, value: Option<&::js_sys::Function>);
1400    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointercancel)]
1401    #[doc = "Getter for the `onpointercancel` field of this object."]
1402    #[doc = ""]
1403    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)"]
1404    #[doc = ""]
1405    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1406    pub fn onpointercancel(this: &Document) -> Option<::js_sys::Function>;
1407    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointercancel)]
1408    #[doc = "Setter for the `onpointercancel` field of this object."]
1409    #[doc = ""]
1410    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)"]
1411    #[doc = ""]
1412    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1413    pub fn set_onpointercancel(this: &Document, value: Option<&::js_sys::Function>);
1414    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerdown)]
1415    #[doc = "Getter for the `onpointerdown` field of this object."]
1416    #[doc = ""]
1417    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)"]
1418    #[doc = ""]
1419    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1420    pub fn onpointerdown(this: &Document) -> Option<::js_sys::Function>;
1421    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerdown)]
1422    #[doc = "Setter for the `onpointerdown` field of this object."]
1423    #[doc = ""]
1424    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)"]
1425    #[doc = ""]
1426    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1427    pub fn set_onpointerdown(this: &Document, value: Option<&::js_sys::Function>);
1428    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerup)]
1429    #[doc = "Getter for the `onpointerup` field of this object."]
1430    #[doc = ""]
1431    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)"]
1432    #[doc = ""]
1433    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1434    pub fn onpointerup(this: &Document) -> Option<::js_sys::Function>;
1435    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerup)]
1436    #[doc = "Setter for the `onpointerup` field of this object."]
1437    #[doc = ""]
1438    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)"]
1439    #[doc = ""]
1440    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1441    pub fn set_onpointerup(this: &Document, value: Option<&::js_sys::Function>);
1442    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointermove)]
1443    #[doc = "Getter for the `onpointermove` field of this object."]
1444    #[doc = ""]
1445    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)"]
1446    #[doc = ""]
1447    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1448    pub fn onpointermove(this: &Document) -> Option<::js_sys::Function>;
1449    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointermove)]
1450    #[doc = "Setter for the `onpointermove` field of this object."]
1451    #[doc = ""]
1452    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)"]
1453    #[doc = ""]
1454    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1455    pub fn set_onpointermove(this: &Document, value: Option<&::js_sys::Function>);
1456    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerout)]
1457    #[doc = "Getter for the `onpointerout` field of this object."]
1458    #[doc = ""]
1459    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)"]
1460    #[doc = ""]
1461    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1462    pub fn onpointerout(this: &Document) -> Option<::js_sys::Function>;
1463    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerout)]
1464    #[doc = "Setter for the `onpointerout` field of this object."]
1465    #[doc = ""]
1466    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)"]
1467    #[doc = ""]
1468    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1469    pub fn set_onpointerout(this: &Document, value: Option<&::js_sys::Function>);
1470    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerover)]
1471    #[doc = "Getter for the `onpointerover` field of this object."]
1472    #[doc = ""]
1473    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)"]
1474    #[doc = ""]
1475    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1476    pub fn onpointerover(this: &Document) -> Option<::js_sys::Function>;
1477    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerover)]
1478    #[doc = "Setter for the `onpointerover` field of this object."]
1479    #[doc = ""]
1480    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)"]
1481    #[doc = ""]
1482    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1483    pub fn set_onpointerover(this: &Document, value: Option<&::js_sys::Function>);
1484    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerenter)]
1485    #[doc = "Getter for the `onpointerenter` field of this object."]
1486    #[doc = ""]
1487    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)"]
1488    #[doc = ""]
1489    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1490    pub fn onpointerenter(this: &Document) -> Option<::js_sys::Function>;
1491    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerenter)]
1492    #[doc = "Setter for the `onpointerenter` field of this object."]
1493    #[doc = ""]
1494    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)"]
1495    #[doc = ""]
1496    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1497    pub fn set_onpointerenter(this: &Document, value: Option<&::js_sys::Function>);
1498    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerleave)]
1499    #[doc = "Getter for the `onpointerleave` field of this object."]
1500    #[doc = ""]
1501    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)"]
1502    #[doc = ""]
1503    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1504    pub fn onpointerleave(this: &Document) -> Option<::js_sys::Function>;
1505    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerleave)]
1506    #[doc = "Setter for the `onpointerleave` field of this object."]
1507    #[doc = ""]
1508    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)"]
1509    #[doc = ""]
1510    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1511    pub fn set_onpointerleave(this: &Document, value: Option<&::js_sys::Function>);
1512    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ongotpointercapture)]
1513    #[doc = "Getter for the `ongotpointercapture` field of this object."]
1514    #[doc = ""]
1515    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)"]
1516    #[doc = ""]
1517    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1518    pub fn ongotpointercapture(this: &Document) -> Option<::js_sys::Function>;
1519    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ongotpointercapture)]
1520    #[doc = "Setter for the `ongotpointercapture` field of this object."]
1521    #[doc = ""]
1522    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)"]
1523    #[doc = ""]
1524    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1525    pub fn set_ongotpointercapture(this: &Document, value: Option<&::js_sys::Function>);
1526    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onlostpointercapture)]
1527    #[doc = "Getter for the `onlostpointercapture` field of this object."]
1528    #[doc = ""]
1529    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)"]
1530    #[doc = ""]
1531    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1532    pub fn onlostpointercapture(this: &Document) -> Option<::js_sys::Function>;
1533    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onlostpointercapture)]
1534    #[doc = "Setter for the `onlostpointercapture` field of this object."]
1535    #[doc = ""]
1536    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)"]
1537    #[doc = ""]
1538    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1539    pub fn set_onlostpointercapture(this: &Document, value: Option<&::js_sys::Function>);
1540    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationcancel)]
1541    #[doc = "Getter for the `onanimationcancel` field of this object."]
1542    #[doc = ""]
1543    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)"]
1544    #[doc = ""]
1545    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1546    pub fn onanimationcancel(this: &Document) -> Option<::js_sys::Function>;
1547    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationcancel)]
1548    #[doc = "Setter for the `onanimationcancel` field of this object."]
1549    #[doc = ""]
1550    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)"]
1551    #[doc = ""]
1552    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1553    pub fn set_onanimationcancel(this: &Document, value: Option<&::js_sys::Function>);
1554    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationend)]
1555    #[doc = "Getter for the `onanimationend` field of this object."]
1556    #[doc = ""]
1557    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)"]
1558    #[doc = ""]
1559    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1560    pub fn onanimationend(this: &Document) -> Option<::js_sys::Function>;
1561    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationend)]
1562    #[doc = "Setter for the `onanimationend` field of this object."]
1563    #[doc = ""]
1564    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)"]
1565    #[doc = ""]
1566    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1567    pub fn set_onanimationend(this: &Document, value: Option<&::js_sys::Function>);
1568    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationiteration)]
1569    #[doc = "Getter for the `onanimationiteration` field of this object."]
1570    #[doc = ""]
1571    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)"]
1572    #[doc = ""]
1573    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1574    pub fn onanimationiteration(this: &Document) -> Option<::js_sys::Function>;
1575    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationiteration)]
1576    #[doc = "Setter for the `onanimationiteration` field of this object."]
1577    #[doc = ""]
1578    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)"]
1579    #[doc = ""]
1580    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1581    pub fn set_onanimationiteration(this: &Document, value: Option<&::js_sys::Function>);
1582    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationstart)]
1583    #[doc = "Getter for the `onanimationstart` field of this object."]
1584    #[doc = ""]
1585    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)"]
1586    #[doc = ""]
1587    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1588    pub fn onanimationstart(this: &Document) -> Option<::js_sys::Function>;
1589    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationstart)]
1590    #[doc = "Setter for the `onanimationstart` field of this object."]
1591    #[doc = ""]
1592    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)"]
1593    #[doc = ""]
1594    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1595    pub fn set_onanimationstart(this: &Document, value: Option<&::js_sys::Function>);
1596    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitioncancel)]
1597    #[doc = "Getter for the `ontransitioncancel` field of this object."]
1598    #[doc = ""]
1599    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)"]
1600    #[doc = ""]
1601    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1602    pub fn ontransitioncancel(this: &Document) -> Option<::js_sys::Function>;
1603    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitioncancel)]
1604    #[doc = "Setter for the `ontransitioncancel` field of this object."]
1605    #[doc = ""]
1606    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)"]
1607    #[doc = ""]
1608    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1609    pub fn set_ontransitioncancel(this: &Document, value: Option<&::js_sys::Function>);
1610    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionend)]
1611    #[doc = "Getter for the `ontransitionend` field of this object."]
1612    #[doc = ""]
1613    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)"]
1614    #[doc = ""]
1615    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1616    pub fn ontransitionend(this: &Document) -> Option<::js_sys::Function>;
1617    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionend)]
1618    #[doc = "Setter for the `ontransitionend` field of this object."]
1619    #[doc = ""]
1620    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)"]
1621    #[doc = ""]
1622    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1623    pub fn set_ontransitionend(this: &Document, value: Option<&::js_sys::Function>);
1624    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionrun)]
1625    #[doc = "Getter for the `ontransitionrun` field of this object."]
1626    #[doc = ""]
1627    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)"]
1628    #[doc = ""]
1629    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1630    pub fn ontransitionrun(this: &Document) -> Option<::js_sys::Function>;
1631    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionrun)]
1632    #[doc = "Setter for the `ontransitionrun` field of this object."]
1633    #[doc = ""]
1634    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)"]
1635    #[doc = ""]
1636    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1637    pub fn set_ontransitionrun(this: &Document, value: Option<&::js_sys::Function>);
1638    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionstart)]
1639    #[doc = "Getter for the `ontransitionstart` field of this object."]
1640    #[doc = ""]
1641    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)"]
1642    #[doc = ""]
1643    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1644    pub fn ontransitionstart(this: &Document) -> Option<::js_sys::Function>;
1645    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionstart)]
1646    #[doc = "Setter for the `ontransitionstart` field of this object."]
1647    #[doc = ""]
1648    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)"]
1649    #[doc = ""]
1650    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1651    pub fn set_ontransitionstart(this: &Document, value: Option<&::js_sys::Function>);
1652    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationend)]
1653    #[doc = "Getter for the `onwebkitanimationend` field of this object."]
1654    #[doc = ""]
1655    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)"]
1656    #[doc = ""]
1657    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1658    pub fn onwebkitanimationend(this: &Document) -> Option<::js_sys::Function>;
1659    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationend)]
1660    #[doc = "Setter for the `onwebkitanimationend` field of this object."]
1661    #[doc = ""]
1662    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)"]
1663    #[doc = ""]
1664    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1665    pub fn set_onwebkitanimationend(this: &Document, value: Option<&::js_sys::Function>);
1666    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationiteration)]
1667    #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
1668    #[doc = ""]
1669    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)"]
1670    #[doc = ""]
1671    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1672    pub fn onwebkitanimationiteration(this: &Document) -> Option<::js_sys::Function>;
1673    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationiteration)]
1674    #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
1675    #[doc = ""]
1676    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)"]
1677    #[doc = ""]
1678    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1679    pub fn set_onwebkitanimationiteration(this: &Document, value: Option<&::js_sys::Function>);
1680    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationstart)]
1681    #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
1682    #[doc = ""]
1683    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)"]
1684    #[doc = ""]
1685    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1686    pub fn onwebkitanimationstart(this: &Document) -> Option<::js_sys::Function>;
1687    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationstart)]
1688    #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
1689    #[doc = ""]
1690    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)"]
1691    #[doc = ""]
1692    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1693    pub fn set_onwebkitanimationstart(this: &Document, value: Option<&::js_sys::Function>);
1694    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkittransitionend)]
1695    #[doc = "Getter for the `onwebkittransitionend` field of this object."]
1696    #[doc = ""]
1697    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)"]
1698    #[doc = ""]
1699    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1700    pub fn onwebkittransitionend(this: &Document) -> Option<::js_sys::Function>;
1701    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkittransitionend)]
1702    #[doc = "Setter for the `onwebkittransitionend` field of this object."]
1703    #[doc = ""]
1704    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)"]
1705    #[doc = ""]
1706    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1707    pub fn set_onwebkittransitionend(this: &Document, value: Option<&::js_sys::Function>);
1708    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onerror)]
1709    #[doc = "Getter for the `onerror` field of this object."]
1710    #[doc = ""]
1711    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)"]
1712    #[doc = ""]
1713    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1714    pub fn onerror(this: &Document) -> Option<::js_sys::Function>;
1715    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onerror)]
1716    #[doc = "Setter for the `onerror` field of this object."]
1717    #[doc = ""]
1718    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)"]
1719    #[doc = ""]
1720    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1721    pub fn set_onerror(this: &Document, value: Option<&::js_sys::Function>);
1722    #[cfg(feature = "HtmlCollection")]
1723    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = children)]
1724    #[doc = "Getter for the `children` field of this object."]
1725    #[doc = ""]
1726    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/children)"]
1727    #[doc = ""]
1728    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
1729    pub fn children(this: &Document) -> HtmlCollection;
1730    #[cfg(feature = "Element")]
1731    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = firstElementChild)]
1732    #[doc = "Getter for the `firstElementChild` field of this object."]
1733    #[doc = ""]
1734    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/firstElementChild)"]
1735    #[doc = ""]
1736    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1737    pub fn first_element_child(this: &Document) -> Option<Element>;
1738    #[cfg(feature = "Element")]
1739    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastElementChild)]
1740    #[doc = "Getter for the `lastElementChild` field of this object."]
1741    #[doc = ""]
1742    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastElementChild)"]
1743    #[doc = ""]
1744    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1745    pub fn last_element_child(this: &Document) -> Option<Element>;
1746    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = childElementCount)]
1747    #[doc = "Getter for the `childElementCount` field of this object."]
1748    #[doc = ""]
1749    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/childElementCount)"]
1750    #[doc = ""]
1751    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1752    pub fn child_element_count(this: &Document) -> u32;
1753    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchstart)]
1754    #[doc = "Getter for the `ontouchstart` field of this object."]
1755    #[doc = ""]
1756    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)"]
1757    #[doc = ""]
1758    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1759    pub fn ontouchstart(this: &Document) -> Option<::js_sys::Function>;
1760    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchstart)]
1761    #[doc = "Setter for the `ontouchstart` field of this object."]
1762    #[doc = ""]
1763    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)"]
1764    #[doc = ""]
1765    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1766    pub fn set_ontouchstart(this: &Document, value: Option<&::js_sys::Function>);
1767    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchend)]
1768    #[doc = "Getter for the `ontouchend` field of this object."]
1769    #[doc = ""]
1770    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)"]
1771    #[doc = ""]
1772    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1773    pub fn ontouchend(this: &Document) -> Option<::js_sys::Function>;
1774    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchend)]
1775    #[doc = "Setter for the `ontouchend` field of this object."]
1776    #[doc = ""]
1777    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)"]
1778    #[doc = ""]
1779    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1780    pub fn set_ontouchend(this: &Document, value: Option<&::js_sys::Function>);
1781    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchmove)]
1782    #[doc = "Getter for the `ontouchmove` field of this object."]
1783    #[doc = ""]
1784    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)"]
1785    #[doc = ""]
1786    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1787    pub fn ontouchmove(this: &Document) -> Option<::js_sys::Function>;
1788    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchmove)]
1789    #[doc = "Setter for the `ontouchmove` field of this object."]
1790    #[doc = ""]
1791    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)"]
1792    #[doc = ""]
1793    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1794    pub fn set_ontouchmove(this: &Document, value: Option<&::js_sys::Function>);
1795    # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchcancel)]
1796    #[doc = "Getter for the `ontouchcancel` field of this object."]
1797    #[doc = ""]
1798    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)"]
1799    #[doc = ""]
1800    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1801    pub fn ontouchcancel(this: &Document) -> Option<::js_sys::Function>;
1802    # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchcancel)]
1803    #[doc = "Setter for the `ontouchcancel` field of this object."]
1804    #[doc = ""]
1805    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)"]
1806    #[doc = ""]
1807    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1808    pub fn set_ontouchcancel(this: &Document, value: Option<&::js_sys::Function>);
1809    #[wasm_bindgen(catch, constructor, js_class = "Document")]
1810    #[doc = "The `new Document(..)` constructor, creating a new instance of `Document`."]
1811    #[doc = ""]
1812    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/Document)"]
1813    #[doc = ""]
1814    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1815    pub fn new() -> Result<Document, JsValue>;
1816    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = adoptNode)]
1817    #[doc = "The `adoptNode()` method."]
1818    #[doc = ""]
1819    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode)"]
1820    #[doc = ""]
1821    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1822    pub fn adopt_node(this: &Document, node: &Node) -> Result<Node, JsValue>;
1823    #[cfg(feature = "CaretPosition")]
1824    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = caretPositionFromPoint)]
1825    #[doc = "The `caretPositionFromPoint()` method."]
1826    #[doc = ""]
1827    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/caretPositionFromPoint)"]
1828    #[doc = ""]
1829    #[doc = "*This API requires the following crate features to be activated: `CaretPosition`, `Document`*"]
1830    pub fn caret_position_from_point(this: &Document, x: f32, y: f32) -> Option<CaretPosition>;
1831    #[cfg(feature = "Attr")]
1832    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createAttribute)]
1833    #[doc = "The `createAttribute()` method."]
1834    #[doc = ""]
1835    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute)"]
1836    #[doc = ""]
1837    #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"]
1838    pub fn create_attribute(this: &Document, name: &str) -> Result<Attr, JsValue>;
1839    #[cfg(feature = "Attr")]
1840    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createAttributeNS)]
1841    #[doc = "The `createAttributeNS()` method."]
1842    #[doc = ""]
1843    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttributeNS)"]
1844    #[doc = ""]
1845    #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"]
1846    pub fn create_attribute_ns(
1847        this: &Document,
1848        namespace: Option<&str>,
1849        name: &str,
1850    ) -> Result<Attr, JsValue>;
1851    #[cfg(feature = "CdataSection")]
1852    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createCDATASection)]
1853    #[doc = "The `createCDATASection()` method."]
1854    #[doc = ""]
1855    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection)"]
1856    #[doc = ""]
1857    #[doc = "*This API requires the following crate features to be activated: `CdataSection`, `Document`*"]
1858    pub fn create_cdata_section(this: &Document, data: &str) -> Result<CdataSection, JsValue>;
1859    #[cfg(feature = "Comment")]
1860    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createComment)]
1861    #[doc = "The `createComment()` method."]
1862    #[doc = ""]
1863    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment)"]
1864    #[doc = ""]
1865    #[doc = "*This API requires the following crate features to be activated: `Comment`, `Document`*"]
1866    pub fn create_comment(this: &Document, data: &str) -> Comment;
1867    #[cfg(feature = "DocumentFragment")]
1868    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createDocumentFragment)]
1869    #[doc = "The `createDocumentFragment()` method."]
1870    #[doc = ""]
1871    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment)"]
1872    #[doc = ""]
1873    #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentFragment`*"]
1874    pub fn create_document_fragment(this: &Document) -> DocumentFragment;
1875    #[cfg(feature = "Element")]
1876    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
1877    #[doc = "The `createElement()` method."]
1878    #[doc = ""]
1879    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
1880    #[doc = ""]
1881    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1882    pub fn create_element(this: &Document, local_name: &str) -> Result<Element, JsValue>;
1883    #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))]
1884    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
1885    #[doc = "The `createElement()` method."]
1886    #[doc = ""]
1887    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
1888    #[doc = ""]
1889    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*"]
1890    pub fn create_element_with_element_creation_options(
1891        this: &Document,
1892        local_name: &str,
1893        options: &ElementCreationOptions,
1894    ) -> Result<Element, JsValue>;
1895    #[cfg(feature = "Element")]
1896    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
1897    #[doc = "The `createElement()` method."]
1898    #[doc = ""]
1899    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
1900    #[doc = ""]
1901    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1902    pub fn create_element_with_str(
1903        this: &Document,
1904        local_name: &str,
1905        options: &str,
1906    ) -> Result<Element, JsValue>;
1907    #[cfg(feature = "Element")]
1908    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
1909    #[doc = "The `createElementNS()` method."]
1910    #[doc = ""]
1911    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
1912    #[doc = ""]
1913    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1914    pub fn create_element_ns(
1915        this: &Document,
1916        namespace: Option<&str>,
1917        qualified_name: &str,
1918    ) -> Result<Element, JsValue>;
1919    #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))]
1920    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
1921    #[doc = "The `createElementNS()` method."]
1922    #[doc = ""]
1923    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
1924    #[doc = ""]
1925    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*"]
1926    pub fn create_element_ns_with_element_creation_options(
1927        this: &Document,
1928        namespace: Option<&str>,
1929        qualified_name: &str,
1930        options: &ElementCreationOptions,
1931    ) -> Result<Element, JsValue>;
1932    #[cfg(feature = "Element")]
1933    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
1934    #[doc = "The `createElementNS()` method."]
1935    #[doc = ""]
1936    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
1937    #[doc = ""]
1938    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1939    pub fn create_element_ns_with_str(
1940        this: &Document,
1941        namespace: Option<&str>,
1942        qualified_name: &str,
1943        options: &str,
1944    ) -> Result<Element, JsValue>;
1945    #[cfg(feature = "Event")]
1946    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createEvent)]
1947    #[doc = "The `createEvent()` method."]
1948    #[doc = ""]
1949    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent)"]
1950    #[doc = ""]
1951    #[doc = "*This API requires the following crate features to be activated: `Document`, `Event`*"]
1952    pub fn create_event(this: &Document, interface: &str) -> Result<Event, JsValue>;
1953    #[cfg(feature = "NodeIterator")]
1954    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
1955    #[doc = "The `createNodeIterator()` method."]
1956    #[doc = ""]
1957    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
1958    #[doc = ""]
1959    #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"]
1960    pub fn create_node_iterator(this: &Document, root: &Node) -> Result<NodeIterator, JsValue>;
1961    #[cfg(feature = "NodeIterator")]
1962    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
1963    #[doc = "The `createNodeIterator()` method."]
1964    #[doc = ""]
1965    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
1966    #[doc = ""]
1967    #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"]
1968    pub fn create_node_iterator_with_what_to_show(
1969        this: &Document,
1970        root: &Node,
1971        what_to_show: u32,
1972    ) -> Result<NodeIterator, JsValue>;
1973    #[cfg(all(feature = "NodeFilter", feature = "NodeIterator",))]
1974    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
1975    #[doc = "The `createNodeIterator()` method."]
1976    #[doc = ""]
1977    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
1978    #[doc = ""]
1979    #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeFilter`, `NodeIterator`*"]
1980    pub fn create_node_iterator_with_what_to_show_and_filter(
1981        this: &Document,
1982        root: &Node,
1983        what_to_show: u32,
1984        filter: Option<&NodeFilter>,
1985    ) -> Result<NodeIterator, JsValue>;
1986    #[cfg(feature = "ProcessingInstruction")]
1987    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createProcessingInstruction)]
1988    #[doc = "The `createProcessingInstruction()` method."]
1989    #[doc = ""]
1990    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction)"]
1991    #[doc = ""]
1992    #[doc = "*This API requires the following crate features to be activated: `Document`, `ProcessingInstruction`*"]
1993    pub fn create_processing_instruction(
1994        this: &Document,
1995        target: &str,
1996        data: &str,
1997    ) -> Result<ProcessingInstruction, JsValue>;
1998    #[cfg(feature = "Range")]
1999    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createRange)]
2000    #[doc = "The `createRange()` method."]
2001    #[doc = ""]
2002    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange)"]
2003    #[doc = ""]
2004    #[doc = "*This API requires the following crate features to be activated: `Document`, `Range`*"]
2005    pub fn create_range(this: &Document) -> Result<Range, JsValue>;
2006    #[cfg(feature = "Text")]
2007    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createTextNode)]
2008    #[doc = "The `createTextNode()` method."]
2009    #[doc = ""]
2010    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode)"]
2011    #[doc = ""]
2012    #[doc = "*This API requires the following crate features to be activated: `Document`, `Text`*"]
2013    pub fn create_text_node(this: &Document, data: &str) -> Text;
2014    #[cfg(feature = "TreeWalker")]
2015    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
2016    #[doc = "The `createTreeWalker()` method."]
2017    #[doc = ""]
2018    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
2019    #[doc = ""]
2020    #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"]
2021    pub fn create_tree_walker(this: &Document, root: &Node) -> Result<TreeWalker, JsValue>;
2022    #[cfg(feature = "TreeWalker")]
2023    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
2024    #[doc = "The `createTreeWalker()` method."]
2025    #[doc = ""]
2026    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
2027    #[doc = ""]
2028    #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"]
2029    pub fn create_tree_walker_with_what_to_show(
2030        this: &Document,
2031        root: &Node,
2032        what_to_show: u32,
2033    ) -> Result<TreeWalker, JsValue>;
2034    #[cfg(all(feature = "NodeFilter", feature = "TreeWalker",))]
2035    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
2036    #[doc = "The `createTreeWalker()` method."]
2037    #[doc = ""]
2038    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
2039    #[doc = ""]
2040    #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeFilter`, `TreeWalker`*"]
2041    pub fn create_tree_walker_with_what_to_show_and_filter(
2042        this: &Document,
2043        root: &Node,
2044        what_to_show: u32,
2045        filter: Option<&NodeFilter>,
2046    ) -> Result<TreeWalker, JsValue>;
2047    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = enableStyleSheetsForSet)]
2048    #[doc = "The `enableStyleSheetsForSet()` method."]
2049    #[doc = ""]
2050    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet)"]
2051    #[doc = ""]
2052    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2053    pub fn enable_style_sheets_for_set(this: &Document, name: Option<&str>);
2054    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = exitFullscreen)]
2055    #[doc = "The `exitFullscreen()` method."]
2056    #[doc = ""]
2057    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen)"]
2058    #[doc = ""]
2059    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2060    pub fn exit_fullscreen(this: &Document);
2061    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = exitPointerLock)]
2062    #[doc = "The `exitPointerLock()` method."]
2063    #[doc = ""]
2064    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock)"]
2065    #[doc = ""]
2066    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2067    pub fn exit_pointer_lock(this: &Document);
2068    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getAnimations)]
2069    #[doc = "The `getAnimations()` method."]
2070    #[doc = ""]
2071    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations)"]
2072    #[doc = ""]
2073    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2074    pub fn get_animations(this: &Document) -> ::js_sys::Array;
2075    #[cfg(feature = "Element")]
2076    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementById)]
2077    #[doc = "The `getElementById()` method."]
2078    #[doc = ""]
2079    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById)"]
2080    #[doc = ""]
2081    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
2082    pub fn get_element_by_id(this: &Document, element_id: &str) -> Option<Element>;
2083    #[cfg(feature = "HtmlCollection")]
2084    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByClassName)]
2085    #[doc = "The `getElementsByClassName()` method."]
2086    #[doc = ""]
2087    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName)"]
2088    #[doc = ""]
2089    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
2090    pub fn get_elements_by_class_name(this: &Document, class_names: &str) -> HtmlCollection;
2091    #[cfg(feature = "NodeList")]
2092    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByName)]
2093    #[doc = "The `getElementsByName()` method."]
2094    #[doc = ""]
2095    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName)"]
2096    #[doc = ""]
2097    #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeList`*"]
2098    pub fn get_elements_by_name(this: &Document, element_name: &str) -> NodeList;
2099    #[cfg(feature = "HtmlCollection")]
2100    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByTagName)]
2101    #[doc = "The `getElementsByTagName()` method."]
2102    #[doc = ""]
2103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName)"]
2104    #[doc = ""]
2105    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
2106    pub fn get_elements_by_tag_name(this: &Document, local_name: &str) -> HtmlCollection;
2107    #[cfg(feature = "HtmlCollection")]
2108    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getElementsByTagNameNS)]
2109    #[doc = "The `getElementsByTagNameNS()` method."]
2110    #[doc = ""]
2111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS)"]
2112    #[doc = ""]
2113    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
2114    pub fn get_elements_by_tag_name_ns(
2115        this: &Document,
2116        namespace: Option<&str>,
2117        local_name: &str,
2118    ) -> Result<HtmlCollection, JsValue>;
2119    #[cfg(feature = "Selection")]
2120    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getSelection)]
2121    #[doc = "The `getSelection()` method."]
2122    #[doc = ""]
2123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getSelection)"]
2124    #[doc = ""]
2125    #[doc = "*This API requires the following crate features to be activated: `Document`, `Selection`*"]
2126    pub fn get_selection(this: &Document) -> Result<Option<Selection>, JsValue>;
2127    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = hasFocus)]
2128    #[doc = "The `hasFocus()` method."]
2129    #[doc = ""]
2130    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus)"]
2131    #[doc = ""]
2132    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2133    pub fn has_focus(this: &Document) -> Result<bool, JsValue>;
2134    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = importNode)]
2135    #[doc = "The `importNode()` method."]
2136    #[doc = ""]
2137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)"]
2138    #[doc = ""]
2139    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2140    pub fn import_node(this: &Document, node: &Node) -> Result<Node, JsValue>;
2141    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = importNode)]
2142    #[doc = "The `importNode()` method."]
2143    #[doc = ""]
2144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)"]
2145    #[doc = ""]
2146    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2147    pub fn import_node_with_deep(this: &Document, node: &Node, deep: bool)
2148        -> Result<Node, JsValue>;
2149    #[cfg(feature = "Element")]
2150    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = querySelector)]
2151    #[doc = "The `querySelector()` method."]
2152    #[doc = ""]
2153    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector)"]
2154    #[doc = ""]
2155    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
2156    pub fn query_selector(this: &Document, selectors: &str) -> Result<Option<Element>, JsValue>;
2157    #[cfg(feature = "NodeList")]
2158    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = querySelectorAll)]
2159    #[doc = "The `querySelectorAll()` method."]
2160    #[doc = ""]
2161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)"]
2162    #[doc = ""]
2163    #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeList`*"]
2164    pub fn query_selector_all(this: &Document, selectors: &str) -> Result<NodeList, JsValue>;
2165    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = releaseCapture)]
2166    #[doc = "The `releaseCapture()` method."]
2167    #[doc = ""]
2168    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture)"]
2169    #[doc = ""]
2170    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2171    pub fn release_capture(this: &Document);
2172    #[cfg(web_sys_unstable_apis)]
2173    #[cfg(feature = "ViewTransition")]
2174    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = startViewTransition)]
2175    #[doc = "The `startViewTransition()` method."]
2176    #[doc = ""]
2177    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition)"]
2178    #[doc = ""]
2179    #[doc = "*This API requires the following crate features to be activated: `Document`, `ViewTransition`*"]
2180    #[doc = ""]
2181    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2182    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
2183    pub fn start_view_transition(this: &Document) -> Result<ViewTransition, JsValue>;
2184    #[cfg(web_sys_unstable_apis)]
2185    #[cfg(feature = "ViewTransition")]
2186    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = startViewTransition)]
2187    #[doc = "The `startViewTransition()` method."]
2188    #[doc = ""]
2189    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition)"]
2190    #[doc = ""]
2191    #[doc = "*This API requires the following crate features to be activated: `Document`, `ViewTransition`*"]
2192    #[doc = ""]
2193    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2194    #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
2195    pub fn start_view_transition_with_update_callback(
2196        this: &Document,
2197        update_callback: Option<&::js_sys::Function>,
2198    ) -> Result<ViewTransition, JsValue>;
2199    #[cfg(feature = "Element")]
2200    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = elementFromPoint)]
2201    #[doc = "The `elementFromPoint()` method."]
2202    #[doc = ""]
2203    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint)"]
2204    #[doc = ""]
2205    #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
2206    pub fn element_from_point(this: &Document, x: f32, y: f32) -> Option<Element>;
2207    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = elementsFromPoint)]
2208    #[doc = "The `elementsFromPoint()` method."]
2209    #[doc = ""]
2210    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint)"]
2211    #[doc = ""]
2212    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2213    pub fn elements_from_point(this: &Document, x: f32, y: f32) -> ::js_sys::Array;
2214    #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Text",))]
2215    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2216    #[doc = "The `convertPointFromNode()` method."]
2217    #[doc = ""]
2218    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2219    #[doc = ""]
2220    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
2221    pub fn convert_point_from_node_with_text(
2222        this: &Document,
2223        point: &DomPointInit,
2224        from: &Text,
2225    ) -> Result<DomPoint, JsValue>;
2226    #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Element",))]
2227    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2228    #[doc = "The `convertPointFromNode()` method."]
2229    #[doc = ""]
2230    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2231    #[doc = ""]
2232    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
2233    pub fn convert_point_from_node_with_element(
2234        this: &Document,
2235        point: &DomPointInit,
2236        from: &Element,
2237    ) -> Result<DomPoint, JsValue>;
2238    #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
2239    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2240    #[doc = "The `convertPointFromNode()` method."]
2241    #[doc = ""]
2242    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2243    #[doc = ""]
2244    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`*"]
2245    pub fn convert_point_from_node_with_document(
2246        this: &Document,
2247        point: &DomPointInit,
2248        from: &Document,
2249    ) -> Result<DomPoint, JsValue>;
2250    #[cfg(all(
2251        feature = "ConvertCoordinateOptions",
2252        feature = "DomPoint",
2253        feature = "DomPointInit",
2254        feature = "Text",
2255    ))]
2256    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2257    #[doc = "The `convertPointFromNode()` method."]
2258    #[doc = ""]
2259    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2260    #[doc = ""]
2261    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
2262    pub fn convert_point_from_node_with_text_and_options(
2263        this: &Document,
2264        point: &DomPointInit,
2265        from: &Text,
2266        options: &ConvertCoordinateOptions,
2267    ) -> Result<DomPoint, JsValue>;
2268    #[cfg(all(
2269        feature = "ConvertCoordinateOptions",
2270        feature = "DomPoint",
2271        feature = "DomPointInit",
2272        feature = "Element",
2273    ))]
2274    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2275    #[doc = "The `convertPointFromNode()` method."]
2276    #[doc = ""]
2277    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2278    #[doc = ""]
2279    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
2280    pub fn convert_point_from_node_with_element_and_options(
2281        this: &Document,
2282        point: &DomPointInit,
2283        from: &Element,
2284        options: &ConvertCoordinateOptions,
2285    ) -> Result<DomPoint, JsValue>;
2286    #[cfg(all(
2287        feature = "ConvertCoordinateOptions",
2288        feature = "DomPoint",
2289        feature = "DomPointInit",
2290    ))]
2291    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2292    #[doc = "The `convertPointFromNode()` method."]
2293    #[doc = ""]
2294    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2295    #[doc = ""]
2296    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`*"]
2297    pub fn convert_point_from_node_with_document_and_options(
2298        this: &Document,
2299        point: &DomPointInit,
2300        from: &Document,
2301        options: &ConvertCoordinateOptions,
2302    ) -> Result<DomPoint, JsValue>;
2303    #[cfg(all(feature = "DomQuad", feature = "Text",))]
2304    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2305    #[doc = "The `convertQuadFromNode()` method."]
2306    #[doc = ""]
2307    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2308    #[doc = ""]
2309    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*"]
2310    pub fn convert_quad_from_node_with_text(
2311        this: &Document,
2312        quad: &DomQuad,
2313        from: &Text,
2314    ) -> Result<DomQuad, JsValue>;
2315    #[cfg(all(feature = "DomQuad", feature = "Element",))]
2316    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2317    #[doc = "The `convertQuadFromNode()` method."]
2318    #[doc = ""]
2319    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2320    #[doc = ""]
2321    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*"]
2322    pub fn convert_quad_from_node_with_element(
2323        this: &Document,
2324        quad: &DomQuad,
2325        from: &Element,
2326    ) -> Result<DomQuad, JsValue>;
2327    #[cfg(feature = "DomQuad")]
2328    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2329    #[doc = "The `convertQuadFromNode()` method."]
2330    #[doc = ""]
2331    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2332    #[doc = ""]
2333    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`*"]
2334    pub fn convert_quad_from_node_with_document(
2335        this: &Document,
2336        quad: &DomQuad,
2337        from: &Document,
2338    ) -> Result<DomQuad, JsValue>;
2339    #[cfg(all(
2340        feature = "ConvertCoordinateOptions",
2341        feature = "DomQuad",
2342        feature = "Text",
2343    ))]
2344    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2345    #[doc = "The `convertQuadFromNode()` method."]
2346    #[doc = ""]
2347    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2348    #[doc = ""]
2349    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*"]
2350    pub fn convert_quad_from_node_with_text_and_options(
2351        this: &Document,
2352        quad: &DomQuad,
2353        from: &Text,
2354        options: &ConvertCoordinateOptions,
2355    ) -> Result<DomQuad, JsValue>;
2356    #[cfg(all(
2357        feature = "ConvertCoordinateOptions",
2358        feature = "DomQuad",
2359        feature = "Element",
2360    ))]
2361    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2362    #[doc = "The `convertQuadFromNode()` method."]
2363    #[doc = ""]
2364    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2365    #[doc = ""]
2366    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*"]
2367    pub fn convert_quad_from_node_with_element_and_options(
2368        this: &Document,
2369        quad: &DomQuad,
2370        from: &Element,
2371        options: &ConvertCoordinateOptions,
2372    ) -> Result<DomQuad, JsValue>;
2373    #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))]
2374    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2375    #[doc = "The `convertQuadFromNode()` method."]
2376    #[doc = ""]
2377    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2378    #[doc = ""]
2379    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`*"]
2380    pub fn convert_quad_from_node_with_document_and_options(
2381        this: &Document,
2382        quad: &DomQuad,
2383        from: &Document,
2384        options: &ConvertCoordinateOptions,
2385    ) -> Result<DomQuad, JsValue>;
2386    #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))]
2387    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2388    #[doc = "The `convertRectFromNode()` method."]
2389    #[doc = ""]
2390    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2391    #[doc = ""]
2392    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
2393    pub fn convert_rect_from_node_with_text(
2394        this: &Document,
2395        rect: &DomRectReadOnly,
2396        from: &Text,
2397    ) -> Result<DomQuad, JsValue>;
2398    #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Element",))]
2399    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2400    #[doc = "The `convertRectFromNode()` method."]
2401    #[doc = ""]
2402    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2403    #[doc = ""]
2404    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
2405    pub fn convert_rect_from_node_with_element(
2406        this: &Document,
2407        rect: &DomRectReadOnly,
2408        from: &Element,
2409    ) -> Result<DomQuad, JsValue>;
2410    #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))]
2411    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2412    #[doc = "The `convertRectFromNode()` method."]
2413    #[doc = ""]
2414    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2415    #[doc = ""]
2416    #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`*"]
2417    pub fn convert_rect_from_node_with_document(
2418        this: &Document,
2419        rect: &DomRectReadOnly,
2420        from: &Document,
2421    ) -> Result<DomQuad, JsValue>;
2422    #[cfg(all(
2423        feature = "ConvertCoordinateOptions",
2424        feature = "DomQuad",
2425        feature = "DomRectReadOnly",
2426        feature = "Text",
2427    ))]
2428    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2429    #[doc = "The `convertRectFromNode()` method."]
2430    #[doc = ""]
2431    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2432    #[doc = ""]
2433    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
2434    pub fn convert_rect_from_node_with_text_and_options(
2435        this: &Document,
2436        rect: &DomRectReadOnly,
2437        from: &Text,
2438        options: &ConvertCoordinateOptions,
2439    ) -> Result<DomQuad, JsValue>;
2440    #[cfg(all(
2441        feature = "ConvertCoordinateOptions",
2442        feature = "DomQuad",
2443        feature = "DomRectReadOnly",
2444        feature = "Element",
2445    ))]
2446    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2447    #[doc = "The `convertRectFromNode()` method."]
2448    #[doc = ""]
2449    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2450    #[doc = ""]
2451    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
2452    pub fn convert_rect_from_node_with_element_and_options(
2453        this: &Document,
2454        rect: &DomRectReadOnly,
2455        from: &Element,
2456        options: &ConvertCoordinateOptions,
2457    ) -> Result<DomQuad, JsValue>;
2458    #[cfg(all(
2459        feature = "ConvertCoordinateOptions",
2460        feature = "DomQuad",
2461        feature = "DomRectReadOnly",
2462    ))]
2463    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2464    #[doc = "The `convertRectFromNode()` method."]
2465    #[doc = ""]
2466    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2467    #[doc = ""]
2468    #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`*"]
2469    pub fn convert_rect_from_node_with_document_and_options(
2470        this: &Document,
2471        rect: &DomRectReadOnly,
2472        from: &Document,
2473        options: &ConvertCoordinateOptions,
2474    ) -> Result<DomQuad, JsValue>;
2475    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getBoxQuads)]
2476    #[doc = "The `getBoxQuads()` method."]
2477    #[doc = ""]
2478    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)"]
2479    #[doc = ""]
2480    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2481    pub fn get_box_quads(this: &Document) -> Result<::js_sys::Array, JsValue>;
2482    #[cfg(feature = "BoxQuadOptions")]
2483    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getBoxQuads)]
2484    #[doc = "The `getBoxQuads()` method."]
2485    #[doc = ""]
2486    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)"]
2487    #[doc = ""]
2488    #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Document`*"]
2489    pub fn get_box_quads_with_options(
2490        this: &Document,
2491        options: &BoxQuadOptions,
2492    ) -> Result<::js_sys::Array, JsValue>;
2493    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = append)]
2494    #[doc = "The `append()` method."]
2495    #[doc = ""]
2496    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2497    #[doc = ""]
2498    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2499    pub fn append_with_node(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2500    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2501    #[doc = "The `append()` method."]
2502    #[doc = ""]
2503    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2504    #[doc = ""]
2505    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2506    pub fn append_with_node_0(this: &Document) -> Result<(), JsValue>;
2507    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2508    #[doc = "The `append()` method."]
2509    #[doc = ""]
2510    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2511    #[doc = ""]
2512    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2513    pub fn append_with_node_1(this: &Document, nodes_1: &Node) -> Result<(), JsValue>;
2514    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2515    #[doc = "The `append()` method."]
2516    #[doc = ""]
2517    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2518    #[doc = ""]
2519    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2520    pub fn append_with_node_2(
2521        this: &Document,
2522        nodes_1: &Node,
2523        nodes_2: &Node,
2524    ) -> Result<(), JsValue>;
2525    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2526    #[doc = "The `append()` method."]
2527    #[doc = ""]
2528    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2529    #[doc = ""]
2530    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2531    pub fn append_with_node_3(
2532        this: &Document,
2533        nodes_1: &Node,
2534        nodes_2: &Node,
2535        nodes_3: &Node,
2536    ) -> Result<(), JsValue>;
2537    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2538    #[doc = "The `append()` method."]
2539    #[doc = ""]
2540    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2541    #[doc = ""]
2542    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2543    pub fn append_with_node_4(
2544        this: &Document,
2545        nodes_1: &Node,
2546        nodes_2: &Node,
2547        nodes_3: &Node,
2548        nodes_4: &Node,
2549    ) -> Result<(), JsValue>;
2550    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2551    #[doc = "The `append()` method."]
2552    #[doc = ""]
2553    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2554    #[doc = ""]
2555    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2556    pub fn append_with_node_5(
2557        this: &Document,
2558        nodes_1: &Node,
2559        nodes_2: &Node,
2560        nodes_3: &Node,
2561        nodes_4: &Node,
2562        nodes_5: &Node,
2563    ) -> Result<(), JsValue>;
2564    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2565    #[doc = "The `append()` method."]
2566    #[doc = ""]
2567    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2568    #[doc = ""]
2569    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2570    pub fn append_with_node_6(
2571        this: &Document,
2572        nodes_1: &Node,
2573        nodes_2: &Node,
2574        nodes_3: &Node,
2575        nodes_4: &Node,
2576        nodes_5: &Node,
2577        nodes_6: &Node,
2578    ) -> Result<(), JsValue>;
2579    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2580    #[doc = "The `append()` method."]
2581    #[doc = ""]
2582    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2583    #[doc = ""]
2584    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2585    pub fn append_with_node_7(
2586        this: &Document,
2587        nodes_1: &Node,
2588        nodes_2: &Node,
2589        nodes_3: &Node,
2590        nodes_4: &Node,
2591        nodes_5: &Node,
2592        nodes_6: &Node,
2593        nodes_7: &Node,
2594    ) -> Result<(), JsValue>;
2595    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = append)]
2596    #[doc = "The `append()` method."]
2597    #[doc = ""]
2598    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2599    #[doc = ""]
2600    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2601    pub fn append_with_str(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2602    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2603    #[doc = "The `append()` method."]
2604    #[doc = ""]
2605    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2606    #[doc = ""]
2607    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2608    pub fn append_with_str_0(this: &Document) -> Result<(), JsValue>;
2609    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2610    #[doc = "The `append()` method."]
2611    #[doc = ""]
2612    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2613    #[doc = ""]
2614    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2615    pub fn append_with_str_1(this: &Document, nodes_1: &str) -> Result<(), JsValue>;
2616    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2617    #[doc = "The `append()` method."]
2618    #[doc = ""]
2619    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2620    #[doc = ""]
2621    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2622    pub fn append_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>;
2623    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2624    #[doc = "The `append()` method."]
2625    #[doc = ""]
2626    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2627    #[doc = ""]
2628    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2629    pub fn append_with_str_3(
2630        this: &Document,
2631        nodes_1: &str,
2632        nodes_2: &str,
2633        nodes_3: &str,
2634    ) -> Result<(), JsValue>;
2635    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2636    #[doc = "The `append()` method."]
2637    #[doc = ""]
2638    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2639    #[doc = ""]
2640    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2641    pub fn append_with_str_4(
2642        this: &Document,
2643        nodes_1: &str,
2644        nodes_2: &str,
2645        nodes_3: &str,
2646        nodes_4: &str,
2647    ) -> Result<(), JsValue>;
2648    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2649    #[doc = "The `append()` method."]
2650    #[doc = ""]
2651    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2652    #[doc = ""]
2653    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2654    pub fn append_with_str_5(
2655        this: &Document,
2656        nodes_1: &str,
2657        nodes_2: &str,
2658        nodes_3: &str,
2659        nodes_4: &str,
2660        nodes_5: &str,
2661    ) -> Result<(), JsValue>;
2662    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2663    #[doc = "The `append()` method."]
2664    #[doc = ""]
2665    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2666    #[doc = ""]
2667    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2668    pub fn append_with_str_6(
2669        this: &Document,
2670        nodes_1: &str,
2671        nodes_2: &str,
2672        nodes_3: &str,
2673        nodes_4: &str,
2674        nodes_5: &str,
2675        nodes_6: &str,
2676    ) -> Result<(), JsValue>;
2677    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2678    #[doc = "The `append()` method."]
2679    #[doc = ""]
2680    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2681    #[doc = ""]
2682    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2683    pub fn append_with_str_7(
2684        this: &Document,
2685        nodes_1: &str,
2686        nodes_2: &str,
2687        nodes_3: &str,
2688        nodes_4: &str,
2689        nodes_5: &str,
2690        nodes_6: &str,
2691        nodes_7: &str,
2692    ) -> Result<(), JsValue>;
2693    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = prepend)]
2694    #[doc = "The `prepend()` method."]
2695    #[doc = ""]
2696    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2697    #[doc = ""]
2698    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2699    pub fn prepend_with_node(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2700    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2701    #[doc = "The `prepend()` method."]
2702    #[doc = ""]
2703    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2704    #[doc = ""]
2705    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2706    pub fn prepend_with_node_0(this: &Document) -> Result<(), JsValue>;
2707    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2708    #[doc = "The `prepend()` method."]
2709    #[doc = ""]
2710    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2711    #[doc = ""]
2712    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2713    pub fn prepend_with_node_1(this: &Document, nodes_1: &Node) -> Result<(), JsValue>;
2714    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2715    #[doc = "The `prepend()` method."]
2716    #[doc = ""]
2717    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2718    #[doc = ""]
2719    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2720    pub fn prepend_with_node_2(
2721        this: &Document,
2722        nodes_1: &Node,
2723        nodes_2: &Node,
2724    ) -> Result<(), JsValue>;
2725    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2726    #[doc = "The `prepend()` method."]
2727    #[doc = ""]
2728    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2729    #[doc = ""]
2730    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2731    pub fn prepend_with_node_3(
2732        this: &Document,
2733        nodes_1: &Node,
2734        nodes_2: &Node,
2735        nodes_3: &Node,
2736    ) -> Result<(), JsValue>;
2737    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2738    #[doc = "The `prepend()` method."]
2739    #[doc = ""]
2740    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2741    #[doc = ""]
2742    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2743    pub fn prepend_with_node_4(
2744        this: &Document,
2745        nodes_1: &Node,
2746        nodes_2: &Node,
2747        nodes_3: &Node,
2748        nodes_4: &Node,
2749    ) -> Result<(), JsValue>;
2750    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2751    #[doc = "The `prepend()` method."]
2752    #[doc = ""]
2753    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2754    #[doc = ""]
2755    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2756    pub fn prepend_with_node_5(
2757        this: &Document,
2758        nodes_1: &Node,
2759        nodes_2: &Node,
2760        nodes_3: &Node,
2761        nodes_4: &Node,
2762        nodes_5: &Node,
2763    ) -> Result<(), JsValue>;
2764    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2765    #[doc = "The `prepend()` method."]
2766    #[doc = ""]
2767    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2768    #[doc = ""]
2769    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2770    pub fn prepend_with_node_6(
2771        this: &Document,
2772        nodes_1: &Node,
2773        nodes_2: &Node,
2774        nodes_3: &Node,
2775        nodes_4: &Node,
2776        nodes_5: &Node,
2777        nodes_6: &Node,
2778    ) -> Result<(), JsValue>;
2779    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2780    #[doc = "The `prepend()` method."]
2781    #[doc = ""]
2782    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2783    #[doc = ""]
2784    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2785    pub fn prepend_with_node_7(
2786        this: &Document,
2787        nodes_1: &Node,
2788        nodes_2: &Node,
2789        nodes_3: &Node,
2790        nodes_4: &Node,
2791        nodes_5: &Node,
2792        nodes_6: &Node,
2793        nodes_7: &Node,
2794    ) -> Result<(), JsValue>;
2795    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = prepend)]
2796    #[doc = "The `prepend()` method."]
2797    #[doc = ""]
2798    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2799    #[doc = ""]
2800    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2801    pub fn prepend_with_str(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2802    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2803    #[doc = "The `prepend()` method."]
2804    #[doc = ""]
2805    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2806    #[doc = ""]
2807    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2808    pub fn prepend_with_str_0(this: &Document) -> Result<(), JsValue>;
2809    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2810    #[doc = "The `prepend()` method."]
2811    #[doc = ""]
2812    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2813    #[doc = ""]
2814    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2815    pub fn prepend_with_str_1(this: &Document, nodes_1: &str) -> Result<(), JsValue>;
2816    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2817    #[doc = "The `prepend()` method."]
2818    #[doc = ""]
2819    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2820    #[doc = ""]
2821    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2822    pub fn prepend_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str)
2823        -> Result<(), JsValue>;
2824    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2825    #[doc = "The `prepend()` method."]
2826    #[doc = ""]
2827    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2828    #[doc = ""]
2829    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2830    pub fn prepend_with_str_3(
2831        this: &Document,
2832        nodes_1: &str,
2833        nodes_2: &str,
2834        nodes_3: &str,
2835    ) -> Result<(), JsValue>;
2836    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2837    #[doc = "The `prepend()` method."]
2838    #[doc = ""]
2839    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2840    #[doc = ""]
2841    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2842    pub fn prepend_with_str_4(
2843        this: &Document,
2844        nodes_1: &str,
2845        nodes_2: &str,
2846        nodes_3: &str,
2847        nodes_4: &str,
2848    ) -> Result<(), JsValue>;
2849    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2850    #[doc = "The `prepend()` method."]
2851    #[doc = ""]
2852    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2853    #[doc = ""]
2854    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2855    pub fn prepend_with_str_5(
2856        this: &Document,
2857        nodes_1: &str,
2858        nodes_2: &str,
2859        nodes_3: &str,
2860        nodes_4: &str,
2861        nodes_5: &str,
2862    ) -> Result<(), JsValue>;
2863    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2864    #[doc = "The `prepend()` method."]
2865    #[doc = ""]
2866    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2867    #[doc = ""]
2868    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2869    pub fn prepend_with_str_6(
2870        this: &Document,
2871        nodes_1: &str,
2872        nodes_2: &str,
2873        nodes_3: &str,
2874        nodes_4: &str,
2875        nodes_5: &str,
2876        nodes_6: &str,
2877    ) -> Result<(), JsValue>;
2878    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2879    #[doc = "The `prepend()` method."]
2880    #[doc = ""]
2881    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2882    #[doc = ""]
2883    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2884    pub fn prepend_with_str_7(
2885        this: &Document,
2886        nodes_1: &str,
2887        nodes_2: &str,
2888        nodes_3: &str,
2889        nodes_4: &str,
2890        nodes_5: &str,
2891        nodes_6: &str,
2892        nodes_7: &str,
2893    ) -> Result<(), JsValue>;
2894    # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)]
2895    #[doc = "The `replaceChildren()` method."]
2896    #[doc = ""]
2897    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2898    #[doc = ""]
2899    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2900    pub fn replace_children_with_node(this: &Document, nodes: &::js_sys::Array);
2901    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2902    #[doc = "The `replaceChildren()` method."]
2903    #[doc = ""]
2904    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2905    #[doc = ""]
2906    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2907    pub fn replace_children_with_node_0(this: &Document);
2908    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2909    #[doc = "The `replaceChildren()` method."]
2910    #[doc = ""]
2911    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2912    #[doc = ""]
2913    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2914    pub fn replace_children_with_node_1(this: &Document, nodes_1: &Node);
2915    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2916    #[doc = "The `replaceChildren()` method."]
2917    #[doc = ""]
2918    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2919    #[doc = ""]
2920    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2921    pub fn replace_children_with_node_2(this: &Document, nodes_1: &Node, nodes_2: &Node);
2922    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2923    #[doc = "The `replaceChildren()` method."]
2924    #[doc = ""]
2925    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2926    #[doc = ""]
2927    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2928    pub fn replace_children_with_node_3(
2929        this: &Document,
2930        nodes_1: &Node,
2931        nodes_2: &Node,
2932        nodes_3: &Node,
2933    );
2934    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2935    #[doc = "The `replaceChildren()` method."]
2936    #[doc = ""]
2937    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2938    #[doc = ""]
2939    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2940    pub fn replace_children_with_node_4(
2941        this: &Document,
2942        nodes_1: &Node,
2943        nodes_2: &Node,
2944        nodes_3: &Node,
2945        nodes_4: &Node,
2946    );
2947    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2948    #[doc = "The `replaceChildren()` method."]
2949    #[doc = ""]
2950    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2951    #[doc = ""]
2952    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2953    pub fn replace_children_with_node_5(
2954        this: &Document,
2955        nodes_1: &Node,
2956        nodes_2: &Node,
2957        nodes_3: &Node,
2958        nodes_4: &Node,
2959        nodes_5: &Node,
2960    );
2961    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2962    #[doc = "The `replaceChildren()` method."]
2963    #[doc = ""]
2964    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2965    #[doc = ""]
2966    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2967    pub fn replace_children_with_node_6(
2968        this: &Document,
2969        nodes_1: &Node,
2970        nodes_2: &Node,
2971        nodes_3: &Node,
2972        nodes_4: &Node,
2973        nodes_5: &Node,
2974        nodes_6: &Node,
2975    );
2976    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2977    #[doc = "The `replaceChildren()` method."]
2978    #[doc = ""]
2979    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2980    #[doc = ""]
2981    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2982    pub fn replace_children_with_node_7(
2983        this: &Document,
2984        nodes_1: &Node,
2985        nodes_2: &Node,
2986        nodes_3: &Node,
2987        nodes_4: &Node,
2988        nodes_5: &Node,
2989        nodes_6: &Node,
2990        nodes_7: &Node,
2991    );
2992    # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)]
2993    #[doc = "The `replaceChildren()` method."]
2994    #[doc = ""]
2995    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2996    #[doc = ""]
2997    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2998    pub fn replace_children_with_str(this: &Document, nodes: &::js_sys::Array);
2999    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3000    #[doc = "The `replaceChildren()` method."]
3001    #[doc = ""]
3002    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3003    #[doc = ""]
3004    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3005    pub fn replace_children_with_str_0(this: &Document);
3006    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3007    #[doc = "The `replaceChildren()` method."]
3008    #[doc = ""]
3009    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3010    #[doc = ""]
3011    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3012    pub fn replace_children_with_str_1(this: &Document, nodes_1: &str);
3013    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3014    #[doc = "The `replaceChildren()` method."]
3015    #[doc = ""]
3016    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3017    #[doc = ""]
3018    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3019    pub fn replace_children_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str);
3020    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3021    #[doc = "The `replaceChildren()` method."]
3022    #[doc = ""]
3023    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3024    #[doc = ""]
3025    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3026    pub fn replace_children_with_str_3(
3027        this: &Document,
3028        nodes_1: &str,
3029        nodes_2: &str,
3030        nodes_3: &str,
3031    );
3032    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3033    #[doc = "The `replaceChildren()` method."]
3034    #[doc = ""]
3035    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3036    #[doc = ""]
3037    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3038    pub fn replace_children_with_str_4(
3039        this: &Document,
3040        nodes_1: &str,
3041        nodes_2: &str,
3042        nodes_3: &str,
3043        nodes_4: &str,
3044    );
3045    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3046    #[doc = "The `replaceChildren()` method."]
3047    #[doc = ""]
3048    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3049    #[doc = ""]
3050    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3051    pub fn replace_children_with_str_5(
3052        this: &Document,
3053        nodes_1: &str,
3054        nodes_2: &str,
3055        nodes_3: &str,
3056        nodes_4: &str,
3057        nodes_5: &str,
3058    );
3059    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3060    #[doc = "The `replaceChildren()` method."]
3061    #[doc = ""]
3062    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3063    #[doc = ""]
3064    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3065    pub fn replace_children_with_str_6(
3066        this: &Document,
3067        nodes_1: &str,
3068        nodes_2: &str,
3069        nodes_3: &str,
3070        nodes_4: &str,
3071        nodes_5: &str,
3072        nodes_6: &str,
3073    );
3074    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3075    #[doc = "The `replaceChildren()` method."]
3076    #[doc = ""]
3077    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3078    #[doc = ""]
3079    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3080    pub fn replace_children_with_str_7(
3081        this: &Document,
3082        nodes_1: &str,
3083        nodes_2: &str,
3084        nodes_3: &str,
3085        nodes_4: &str,
3086        nodes_5: &str,
3087        nodes_6: &str,
3088        nodes_7: &str,
3089    );
3090    #[cfg(feature = "XPathExpression")]
3091    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
3092    #[doc = "The `createExpression()` method."]
3093    #[doc = ""]
3094    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
3095    #[doc = ""]
3096    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`*"]
3097    pub fn create_expression(this: &Document, expression: &str)
3098        -> Result<XPathExpression, JsValue>;
3099    #[cfg(feature = "XPathExpression")]
3100    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
3101    #[doc = "The `createExpression()` method."]
3102    #[doc = ""]
3103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
3104    #[doc = ""]
3105    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`*"]
3106    pub fn create_expression_with_opt_callback(
3107        this: &Document,
3108        expression: &str,
3109        resolver: Option<&::js_sys::Function>,
3110    ) -> Result<XPathExpression, JsValue>;
3111    #[cfg(all(feature = "XPathExpression", feature = "XPathNsResolver",))]
3112    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
3113    #[doc = "The `createExpression()` method."]
3114    #[doc = ""]
3115    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
3116    #[doc = ""]
3117    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`, `XPathNsResolver`*"]
3118    pub fn create_expression_with_opt_x_path_ns_resolver(
3119        this: &Document,
3120        expression: &str,
3121        resolver: Option<&XPathNsResolver>,
3122    ) -> Result<XPathExpression, JsValue>;
3123    # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createNSResolver)]
3124    #[doc = "The `createNSResolver()` method."]
3125    #[doc = ""]
3126    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver)"]
3127    #[doc = ""]
3128    #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3129    pub fn create_ns_resolver(this: &Document, node_resolver: &Node) -> Node;
3130    #[cfg(feature = "XPathResult")]
3131    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3132    #[doc = "The `evaluate()` method."]
3133    #[doc = ""]
3134    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3135    #[doc = ""]
3136    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3137    pub fn evaluate(
3138        this: &Document,
3139        expression: &str,
3140        context_node: &Node,
3141    ) -> Result<XPathResult, JsValue>;
3142    #[cfg(feature = "XPathResult")]
3143    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3144    #[doc = "The `evaluate()` method."]
3145    #[doc = ""]
3146    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3147    #[doc = ""]
3148    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3149    pub fn evaluate_with_opt_callback(
3150        this: &Document,
3151        expression: &str,
3152        context_node: &Node,
3153        resolver: Option<&::js_sys::Function>,
3154    ) -> Result<XPathResult, JsValue>;
3155    #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
3156    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3157    #[doc = "The `evaluate()` method."]
3158    #[doc = ""]
3159    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3160    #[doc = ""]
3161    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
3162    pub fn evaluate_with_opt_x_path_ns_resolver(
3163        this: &Document,
3164        expression: &str,
3165        context_node: &Node,
3166        resolver: Option<&XPathNsResolver>,
3167    ) -> Result<XPathResult, JsValue>;
3168    #[cfg(feature = "XPathResult")]
3169    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3170    #[doc = "The `evaluate()` method."]
3171    #[doc = ""]
3172    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3173    #[doc = ""]
3174    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3175    pub fn evaluate_with_opt_callback_and_type(
3176        this: &Document,
3177        expression: &str,
3178        context_node: &Node,
3179        resolver: Option<&::js_sys::Function>,
3180        type_: u16,
3181    ) -> Result<XPathResult, JsValue>;
3182    #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
3183    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3184    #[doc = "The `evaluate()` method."]
3185    #[doc = ""]
3186    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3187    #[doc = ""]
3188    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
3189    pub fn evaluate_with_opt_x_path_ns_resolver_and_type(
3190        this: &Document,
3191        expression: &str,
3192        context_node: &Node,
3193        resolver: Option<&XPathNsResolver>,
3194        type_: u16,
3195    ) -> Result<XPathResult, JsValue>;
3196    #[cfg(feature = "XPathResult")]
3197    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3198    #[doc = "The `evaluate()` method."]
3199    #[doc = ""]
3200    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3201    #[doc = ""]
3202    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3203    pub fn evaluate_with_opt_callback_and_type_and_result(
3204        this: &Document,
3205        expression: &str,
3206        context_node: &Node,
3207        resolver: Option<&::js_sys::Function>,
3208        type_: u16,
3209        result: Option<&::js_sys::Object>,
3210    ) -> Result<XPathResult, JsValue>;
3211    #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
3212    # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3213    #[doc = "The `evaluate()` method."]
3214    #[doc = ""]
3215    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3216    #[doc = ""]
3217    #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
3218    pub fn evaluate_with_opt_x_path_ns_resolver_and_type_and_result(
3219        this: &Document,
3220        expression: &str,
3221        context_node: &Node,
3222        resolver: Option<&XPathNsResolver>,
3223        type_: u16,
3224        result: Option<&::js_sys::Object>,
3225    ) -> Result<XPathResult, JsValue>;
3226}