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<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<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) -> 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) -> 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) -> 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) -> 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) -> 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) -> 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) -> 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) -> 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) -> 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) -> 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<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<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<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 = oncanplay)]
603 #[doc = "Getter for the `oncanplay` field of this object."]
604 #[doc = ""]
605 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)"]
606 #[doc = ""]
607 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
608 pub fn oncanplay(this: &Document) -> Option<::js_sys::Function>;
609 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncanplay)]
610 #[doc = "Setter for the `oncanplay` field of this object."]
611 #[doc = ""]
612 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplay)"]
613 #[doc = ""]
614 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
615 pub fn set_oncanplay(this: &Document, value: Option<&::js_sys::Function>);
616 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncanplaythrough)]
617 #[doc = "Getter for the `oncanplaythrough` field of this object."]
618 #[doc = ""]
619 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)"]
620 #[doc = ""]
621 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
622 pub fn oncanplaythrough(this: &Document) -> Option<::js_sys::Function>;
623 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncanplaythrough)]
624 #[doc = "Setter for the `oncanplaythrough` field of this object."]
625 #[doc = ""]
626 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncanplaythrough)"]
627 #[doc = ""]
628 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
629 pub fn set_oncanplaythrough(this: &Document, value: Option<&::js_sys::Function>);
630 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onchange)]
631 #[doc = "Getter for the `onchange` field of this object."]
632 #[doc = ""]
633 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)"]
634 #[doc = ""]
635 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
636 pub fn onchange(this: &Document) -> Option<::js_sys::Function>;
637 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onchange)]
638 #[doc = "Setter for the `onchange` field of this object."]
639 #[doc = ""]
640 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onchange)"]
641 #[doc = ""]
642 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
643 pub fn set_onchange(this: &Document, value: Option<&::js_sys::Function>);
644 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onclick)]
645 #[doc = "Getter for the `onclick` field of this object."]
646 #[doc = ""]
647 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)"]
648 #[doc = ""]
649 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
650 pub fn onclick(this: &Document) -> Option<::js_sys::Function>;
651 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onclick)]
652 #[doc = "Setter for the `onclick` field of this object."]
653 #[doc = ""]
654 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclick)"]
655 #[doc = ""]
656 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
657 pub fn set_onclick(this: &Document, value: Option<&::js_sys::Function>);
658 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onclose)]
659 #[doc = "Getter for the `onclose` field of this object."]
660 #[doc = ""]
661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)"]
662 #[doc = ""]
663 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
664 pub fn onclose(this: &Document) -> Option<::js_sys::Function>;
665 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onclose)]
666 #[doc = "Setter for the `onclose` field of this object."]
667 #[doc = ""]
668 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onclose)"]
669 #[doc = ""]
670 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
671 pub fn set_onclose(this: &Document, value: Option<&::js_sys::Function>);
672 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oncontextmenu)]
673 #[doc = "Getter for the `oncontextmenu` field of this object."]
674 #[doc = ""]
675 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)"]
676 #[doc = ""]
677 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
678 pub fn oncontextmenu(this: &Document) -> Option<::js_sys::Function>;
679 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oncontextmenu)]
680 #[doc = "Setter for the `oncontextmenu` field of this object."]
681 #[doc = ""]
682 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oncontextmenu)"]
683 #[doc = ""]
684 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
685 pub fn set_oncontextmenu(this: &Document, value: Option<&::js_sys::Function>);
686 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondblclick)]
687 #[doc = "Getter for the `ondblclick` field of this object."]
688 #[doc = ""]
689 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)"]
690 #[doc = ""]
691 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
692 pub fn ondblclick(this: &Document) -> Option<::js_sys::Function>;
693 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondblclick)]
694 #[doc = "Setter for the `ondblclick` field of this object."]
695 #[doc = ""]
696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondblclick)"]
697 #[doc = ""]
698 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
699 pub fn set_ondblclick(this: &Document, value: Option<&::js_sys::Function>);
700 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondrag)]
701 #[doc = "Getter for the `ondrag` field of this object."]
702 #[doc = ""]
703 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)"]
704 #[doc = ""]
705 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
706 pub fn ondrag(this: &Document) -> Option<::js_sys::Function>;
707 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondrag)]
708 #[doc = "Setter for the `ondrag` field of this object."]
709 #[doc = ""]
710 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrag)"]
711 #[doc = ""]
712 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
713 pub fn set_ondrag(this: &Document, value: Option<&::js_sys::Function>);
714 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragend)]
715 #[doc = "Getter for the `ondragend` field of this object."]
716 #[doc = ""]
717 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)"]
718 #[doc = ""]
719 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
720 pub fn ondragend(this: &Document) -> Option<::js_sys::Function>;
721 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragend)]
722 #[doc = "Setter for the `ondragend` field of this object."]
723 #[doc = ""]
724 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragend)"]
725 #[doc = ""]
726 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
727 pub fn set_ondragend(this: &Document, value: Option<&::js_sys::Function>);
728 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragenter)]
729 #[doc = "Getter for the `ondragenter` field of this object."]
730 #[doc = ""]
731 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)"]
732 #[doc = ""]
733 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
734 pub fn ondragenter(this: &Document) -> Option<::js_sys::Function>;
735 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragenter)]
736 #[doc = "Setter for the `ondragenter` field of this object."]
737 #[doc = ""]
738 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragenter)"]
739 #[doc = ""]
740 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
741 pub fn set_ondragenter(this: &Document, value: Option<&::js_sys::Function>);
742 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragexit)]
743 #[doc = "Getter for the `ondragexit` field of this object."]
744 #[doc = ""]
745 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)"]
746 #[doc = ""]
747 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
748 pub fn ondragexit(this: &Document) -> Option<::js_sys::Function>;
749 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragexit)]
750 #[doc = "Setter for the `ondragexit` field of this object."]
751 #[doc = ""]
752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragexit)"]
753 #[doc = ""]
754 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
755 pub fn set_ondragexit(this: &Document, value: Option<&::js_sys::Function>);
756 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragleave)]
757 #[doc = "Getter for the `ondragleave` field of this object."]
758 #[doc = ""]
759 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)"]
760 #[doc = ""]
761 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
762 pub fn ondragleave(this: &Document) -> Option<::js_sys::Function>;
763 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragleave)]
764 #[doc = "Setter for the `ondragleave` field of this object."]
765 #[doc = ""]
766 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragleave)"]
767 #[doc = ""]
768 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
769 pub fn set_ondragleave(this: &Document, value: Option<&::js_sys::Function>);
770 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragover)]
771 #[doc = "Getter for the `ondragover` field of this object."]
772 #[doc = ""]
773 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)"]
774 #[doc = ""]
775 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
776 pub fn ondragover(this: &Document) -> Option<::js_sys::Function>;
777 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragover)]
778 #[doc = "Setter for the `ondragover` field of this object."]
779 #[doc = ""]
780 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragover)"]
781 #[doc = ""]
782 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
783 pub fn set_ondragover(this: &Document, value: Option<&::js_sys::Function>);
784 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondragstart)]
785 #[doc = "Getter for the `ondragstart` field of this object."]
786 #[doc = ""]
787 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)"]
788 #[doc = ""]
789 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
790 pub fn ondragstart(this: &Document) -> Option<::js_sys::Function>;
791 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondragstart)]
792 #[doc = "Setter for the `ondragstart` field of this object."]
793 #[doc = ""]
794 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondragstart)"]
795 #[doc = ""]
796 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
797 pub fn set_ondragstart(this: &Document, value: Option<&::js_sys::Function>);
798 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondrop)]
799 #[doc = "Getter for the `ondrop` field of this object."]
800 #[doc = ""]
801 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)"]
802 #[doc = ""]
803 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
804 pub fn ondrop(this: &Document) -> Option<::js_sys::Function>;
805 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondrop)]
806 #[doc = "Setter for the `ondrop` field of this object."]
807 #[doc = ""]
808 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondrop)"]
809 #[doc = ""]
810 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
811 pub fn set_ondrop(this: &Document, value: Option<&::js_sys::Function>);
812 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ondurationchange)]
813 #[doc = "Getter for the `ondurationchange` field of this object."]
814 #[doc = ""]
815 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)"]
816 #[doc = ""]
817 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
818 pub fn ondurationchange(this: &Document) -> Option<::js_sys::Function>;
819 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ondurationchange)]
820 #[doc = "Setter for the `ondurationchange` field of this object."]
821 #[doc = ""]
822 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ondurationchange)"]
823 #[doc = ""]
824 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
825 pub fn set_ondurationchange(this: &Document, value: Option<&::js_sys::Function>);
826 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onemptied)]
827 #[doc = "Getter for the `onemptied` field of this object."]
828 #[doc = ""]
829 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)"]
830 #[doc = ""]
831 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
832 pub fn onemptied(this: &Document) -> Option<::js_sys::Function>;
833 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onemptied)]
834 #[doc = "Setter for the `onemptied` field of this object."]
835 #[doc = ""]
836 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onemptied)"]
837 #[doc = ""]
838 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
839 pub fn set_onemptied(this: &Document, value: Option<&::js_sys::Function>);
840 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onended)]
841 #[doc = "Getter for the `onended` field of this object."]
842 #[doc = ""]
843 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)"]
844 #[doc = ""]
845 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
846 pub fn onended(this: &Document) -> Option<::js_sys::Function>;
847 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onended)]
848 #[doc = "Setter for the `onended` field of this object."]
849 #[doc = ""]
850 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onended)"]
851 #[doc = ""]
852 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
853 pub fn set_onended(this: &Document, value: Option<&::js_sys::Function>);
854 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oninput)]
855 #[doc = "Getter for the `oninput` field of this object."]
856 #[doc = ""]
857 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)"]
858 #[doc = ""]
859 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
860 pub fn oninput(this: &Document) -> Option<::js_sys::Function>;
861 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oninput)]
862 #[doc = "Setter for the `oninput` field of this object."]
863 #[doc = ""]
864 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninput)"]
865 #[doc = ""]
866 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
867 pub fn set_oninput(this: &Document, value: Option<&::js_sys::Function>);
868 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = oninvalid)]
869 #[doc = "Getter for the `oninvalid` field of this object."]
870 #[doc = ""]
871 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)"]
872 #[doc = ""]
873 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
874 pub fn oninvalid(this: &Document) -> Option<::js_sys::Function>;
875 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = oninvalid)]
876 #[doc = "Setter for the `oninvalid` field of this object."]
877 #[doc = ""]
878 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/oninvalid)"]
879 #[doc = ""]
880 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
881 pub fn set_oninvalid(this: &Document, value: Option<&::js_sys::Function>);
882 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeydown)]
883 #[doc = "Getter for the `onkeydown` field of this object."]
884 #[doc = ""]
885 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)"]
886 #[doc = ""]
887 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
888 pub fn onkeydown(this: &Document) -> Option<::js_sys::Function>;
889 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeydown)]
890 #[doc = "Setter for the `onkeydown` field of this object."]
891 #[doc = ""]
892 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeydown)"]
893 #[doc = ""]
894 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
895 pub fn set_onkeydown(this: &Document, value: Option<&::js_sys::Function>);
896 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeypress)]
897 #[doc = "Getter for the `onkeypress` field of this object."]
898 #[doc = ""]
899 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)"]
900 #[doc = ""]
901 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
902 pub fn onkeypress(this: &Document) -> Option<::js_sys::Function>;
903 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeypress)]
904 #[doc = "Setter for the `onkeypress` field of this object."]
905 #[doc = ""]
906 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeypress)"]
907 #[doc = ""]
908 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
909 pub fn set_onkeypress(this: &Document, value: Option<&::js_sys::Function>);
910 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onkeyup)]
911 #[doc = "Getter for the `onkeyup` field of this object."]
912 #[doc = ""]
913 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)"]
914 #[doc = ""]
915 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
916 pub fn onkeyup(this: &Document) -> Option<::js_sys::Function>;
917 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onkeyup)]
918 #[doc = "Setter for the `onkeyup` field of this object."]
919 #[doc = ""]
920 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onkeyup)"]
921 #[doc = ""]
922 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
923 pub fn set_onkeyup(this: &Document, value: Option<&::js_sys::Function>);
924 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onload)]
925 #[doc = "Getter for the `onload` field of this object."]
926 #[doc = ""]
927 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)"]
928 #[doc = ""]
929 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
930 pub fn onload(this: &Document) -> Option<::js_sys::Function>;
931 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onload)]
932 #[doc = "Setter for the `onload` field of this object."]
933 #[doc = ""]
934 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onload)"]
935 #[doc = ""]
936 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
937 pub fn set_onload(this: &Document, value: Option<&::js_sys::Function>);
938 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadeddata)]
939 #[doc = "Getter for the `onloadeddata` field of this object."]
940 #[doc = ""]
941 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)"]
942 #[doc = ""]
943 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
944 pub fn onloadeddata(this: &Document) -> Option<::js_sys::Function>;
945 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadeddata)]
946 #[doc = "Setter for the `onloadeddata` field of this object."]
947 #[doc = ""]
948 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadeddata)"]
949 #[doc = ""]
950 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
951 pub fn set_onloadeddata(this: &Document, value: Option<&::js_sys::Function>);
952 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadedmetadata)]
953 #[doc = "Getter for the `onloadedmetadata` field of this object."]
954 #[doc = ""]
955 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)"]
956 #[doc = ""]
957 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
958 pub fn onloadedmetadata(this: &Document) -> Option<::js_sys::Function>;
959 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadedmetadata)]
960 #[doc = "Setter for the `onloadedmetadata` field of this object."]
961 #[doc = ""]
962 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadedmetadata)"]
963 #[doc = ""]
964 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
965 pub fn set_onloadedmetadata(this: &Document, value: Option<&::js_sys::Function>);
966 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadend)]
967 #[doc = "Getter for the `onloadend` field of this object."]
968 #[doc = ""]
969 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)"]
970 #[doc = ""]
971 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
972 pub fn onloadend(this: &Document) -> Option<::js_sys::Function>;
973 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadend)]
974 #[doc = "Setter for the `onloadend` field of this object."]
975 #[doc = ""]
976 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadend)"]
977 #[doc = ""]
978 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
979 pub fn set_onloadend(this: &Document, value: Option<&::js_sys::Function>);
980 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onloadstart)]
981 #[doc = "Getter for the `onloadstart` field of this object."]
982 #[doc = ""]
983 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)"]
984 #[doc = ""]
985 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
986 pub fn onloadstart(this: &Document) -> Option<::js_sys::Function>;
987 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onloadstart)]
988 #[doc = "Setter for the `onloadstart` field of this object."]
989 #[doc = ""]
990 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onloadstart)"]
991 #[doc = ""]
992 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
993 pub fn set_onloadstart(this: &Document, value: Option<&::js_sys::Function>);
994 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmousedown)]
995 #[doc = "Getter for the `onmousedown` field of this object."]
996 #[doc = ""]
997 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)"]
998 #[doc = ""]
999 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1000 pub fn onmousedown(this: &Document) -> Option<::js_sys::Function>;
1001 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmousedown)]
1002 #[doc = "Setter for the `onmousedown` field of this object."]
1003 #[doc = ""]
1004 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousedown)"]
1005 #[doc = ""]
1006 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1007 pub fn set_onmousedown(this: &Document, value: Option<&::js_sys::Function>);
1008 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseenter)]
1009 #[doc = "Getter for the `onmouseenter` field of this object."]
1010 #[doc = ""]
1011 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)"]
1012 #[doc = ""]
1013 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1014 pub fn onmouseenter(this: &Document) -> Option<::js_sys::Function>;
1015 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseenter)]
1016 #[doc = "Setter for the `onmouseenter` field of this object."]
1017 #[doc = ""]
1018 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseenter)"]
1019 #[doc = ""]
1020 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1021 pub fn set_onmouseenter(this: &Document, value: Option<&::js_sys::Function>);
1022 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseleave)]
1023 #[doc = "Getter for the `onmouseleave` field of this object."]
1024 #[doc = ""]
1025 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)"]
1026 #[doc = ""]
1027 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1028 pub fn onmouseleave(this: &Document) -> Option<::js_sys::Function>;
1029 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseleave)]
1030 #[doc = "Setter for the `onmouseleave` field of this object."]
1031 #[doc = ""]
1032 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseleave)"]
1033 #[doc = ""]
1034 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1035 pub fn set_onmouseleave(this: &Document, value: Option<&::js_sys::Function>);
1036 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmousemove)]
1037 #[doc = "Getter for the `onmousemove` field of this object."]
1038 #[doc = ""]
1039 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)"]
1040 #[doc = ""]
1041 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1042 pub fn onmousemove(this: &Document) -> Option<::js_sys::Function>;
1043 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmousemove)]
1044 #[doc = "Setter for the `onmousemove` field of this object."]
1045 #[doc = ""]
1046 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmousemove)"]
1047 #[doc = ""]
1048 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1049 pub fn set_onmousemove(this: &Document, value: Option<&::js_sys::Function>);
1050 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseout)]
1051 #[doc = "Getter for the `onmouseout` field of this object."]
1052 #[doc = ""]
1053 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)"]
1054 #[doc = ""]
1055 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1056 pub fn onmouseout(this: &Document) -> Option<::js_sys::Function>;
1057 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseout)]
1058 #[doc = "Setter for the `onmouseout` field of this object."]
1059 #[doc = ""]
1060 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseout)"]
1061 #[doc = ""]
1062 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1063 pub fn set_onmouseout(this: &Document, value: Option<&::js_sys::Function>);
1064 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseover)]
1065 #[doc = "Getter for the `onmouseover` field of this object."]
1066 #[doc = ""]
1067 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)"]
1068 #[doc = ""]
1069 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1070 pub fn onmouseover(this: &Document) -> Option<::js_sys::Function>;
1071 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseover)]
1072 #[doc = "Setter for the `onmouseover` field of this object."]
1073 #[doc = ""]
1074 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseover)"]
1075 #[doc = ""]
1076 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1077 pub fn set_onmouseover(this: &Document, value: Option<&::js_sys::Function>);
1078 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onmouseup)]
1079 #[doc = "Getter for the `onmouseup` field of this object."]
1080 #[doc = ""]
1081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)"]
1082 #[doc = ""]
1083 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1084 pub fn onmouseup(this: &Document) -> Option<::js_sys::Function>;
1085 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onmouseup)]
1086 #[doc = "Setter for the `onmouseup` field of this object."]
1087 #[doc = ""]
1088 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onmouseup)"]
1089 #[doc = ""]
1090 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1091 pub fn set_onmouseup(this: &Document, value: Option<&::js_sys::Function>);
1092 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwheel)]
1093 #[doc = "Getter for the `onwheel` field of this object."]
1094 #[doc = ""]
1095 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)"]
1096 #[doc = ""]
1097 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1098 pub fn onwheel(this: &Document) -> Option<::js_sys::Function>;
1099 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwheel)]
1100 #[doc = "Setter for the `onwheel` field of this object."]
1101 #[doc = ""]
1102 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwheel)"]
1103 #[doc = ""]
1104 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1105 pub fn set_onwheel(this: &Document, value: Option<&::js_sys::Function>);
1106 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpause)]
1107 #[doc = "Getter for the `onpause` field of this object."]
1108 #[doc = ""]
1109 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)"]
1110 #[doc = ""]
1111 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1112 pub fn onpause(this: &Document) -> Option<::js_sys::Function>;
1113 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpause)]
1114 #[doc = "Setter for the `onpause` field of this object."]
1115 #[doc = ""]
1116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpause)"]
1117 #[doc = ""]
1118 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1119 pub fn set_onpause(this: &Document, value: Option<&::js_sys::Function>);
1120 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onplay)]
1121 #[doc = "Getter for the `onplay` field of this object."]
1122 #[doc = ""]
1123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)"]
1124 #[doc = ""]
1125 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1126 pub fn onplay(this: &Document) -> Option<::js_sys::Function>;
1127 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onplay)]
1128 #[doc = "Setter for the `onplay` field of this object."]
1129 #[doc = ""]
1130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplay)"]
1131 #[doc = ""]
1132 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1133 pub fn set_onplay(this: &Document, value: Option<&::js_sys::Function>);
1134 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onplaying)]
1135 #[doc = "Getter for the `onplaying` field of this object."]
1136 #[doc = ""]
1137 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)"]
1138 #[doc = ""]
1139 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1140 pub fn onplaying(this: &Document) -> Option<::js_sys::Function>;
1141 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onplaying)]
1142 #[doc = "Setter for the `onplaying` field of this object."]
1143 #[doc = ""]
1144 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onplaying)"]
1145 #[doc = ""]
1146 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1147 pub fn set_onplaying(this: &Document, value: Option<&::js_sys::Function>);
1148 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onprogress)]
1149 #[doc = "Getter for the `onprogress` field of this object."]
1150 #[doc = ""]
1151 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)"]
1152 #[doc = ""]
1153 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1154 pub fn onprogress(this: &Document) -> Option<::js_sys::Function>;
1155 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onprogress)]
1156 #[doc = "Setter for the `onprogress` field of this object."]
1157 #[doc = ""]
1158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onprogress)"]
1159 #[doc = ""]
1160 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1161 pub fn set_onprogress(this: &Document, value: Option<&::js_sys::Function>);
1162 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onratechange)]
1163 #[doc = "Getter for the `onratechange` field of this object."]
1164 #[doc = ""]
1165 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)"]
1166 #[doc = ""]
1167 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1168 pub fn onratechange(this: &Document) -> Option<::js_sys::Function>;
1169 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onratechange)]
1170 #[doc = "Setter for the `onratechange` field of this object."]
1171 #[doc = ""]
1172 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onratechange)"]
1173 #[doc = ""]
1174 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1175 pub fn set_onratechange(this: &Document, value: Option<&::js_sys::Function>);
1176 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onreset)]
1177 #[doc = "Getter for the `onreset` field of this object."]
1178 #[doc = ""]
1179 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)"]
1180 #[doc = ""]
1181 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1182 pub fn onreset(this: &Document) -> Option<::js_sys::Function>;
1183 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onreset)]
1184 #[doc = "Setter for the `onreset` field of this object."]
1185 #[doc = ""]
1186 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onreset)"]
1187 #[doc = ""]
1188 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1189 pub fn set_onreset(this: &Document, value: Option<&::js_sys::Function>);
1190 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onresize)]
1191 #[doc = "Getter for the `onresize` field of this object."]
1192 #[doc = ""]
1193 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)"]
1194 #[doc = ""]
1195 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1196 pub fn onresize(this: &Document) -> Option<::js_sys::Function>;
1197 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onresize)]
1198 #[doc = "Setter for the `onresize` field of this object."]
1199 #[doc = ""]
1200 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onresize)"]
1201 #[doc = ""]
1202 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1203 pub fn set_onresize(this: &Document, value: Option<&::js_sys::Function>);
1204 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onscroll)]
1205 #[doc = "Getter for the `onscroll` field of this object."]
1206 #[doc = ""]
1207 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)"]
1208 #[doc = ""]
1209 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1210 pub fn onscroll(this: &Document) -> Option<::js_sys::Function>;
1211 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onscroll)]
1212 #[doc = "Setter for the `onscroll` field of this object."]
1213 #[doc = ""]
1214 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onscroll)"]
1215 #[doc = ""]
1216 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1217 pub fn set_onscroll(this: &Document, value: Option<&::js_sys::Function>);
1218 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onseeked)]
1219 #[doc = "Getter for the `onseeked` field of this object."]
1220 #[doc = ""]
1221 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)"]
1222 #[doc = ""]
1223 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1224 pub fn onseeked(this: &Document) -> Option<::js_sys::Function>;
1225 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onseeked)]
1226 #[doc = "Setter for the `onseeked` field of this object."]
1227 #[doc = ""]
1228 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeked)"]
1229 #[doc = ""]
1230 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1231 pub fn set_onseeked(this: &Document, value: Option<&::js_sys::Function>);
1232 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onseeking)]
1233 #[doc = "Getter for the `onseeking` field of this object."]
1234 #[doc = ""]
1235 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)"]
1236 #[doc = ""]
1237 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1238 pub fn onseeking(this: &Document) -> Option<::js_sys::Function>;
1239 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onseeking)]
1240 #[doc = "Setter for the `onseeking` field of this object."]
1241 #[doc = ""]
1242 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onseeking)"]
1243 #[doc = ""]
1244 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1245 pub fn set_onseeking(this: &Document, value: Option<&::js_sys::Function>);
1246 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselect)]
1247 #[doc = "Getter for the `onselect` field of this object."]
1248 #[doc = ""]
1249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)"]
1250 #[doc = ""]
1251 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1252 pub fn onselect(this: &Document) -> Option<::js_sys::Function>;
1253 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselect)]
1254 #[doc = "Setter for the `onselect` field of this object."]
1255 #[doc = ""]
1256 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselect)"]
1257 #[doc = ""]
1258 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1259 pub fn set_onselect(this: &Document, value: Option<&::js_sys::Function>);
1260 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onshow)]
1261 #[doc = "Getter for the `onshow` field of this object."]
1262 #[doc = ""]
1263 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)"]
1264 #[doc = ""]
1265 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1266 pub fn onshow(this: &Document) -> Option<::js_sys::Function>;
1267 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onshow)]
1268 #[doc = "Setter for the `onshow` field of this object."]
1269 #[doc = ""]
1270 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onshow)"]
1271 #[doc = ""]
1272 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1273 pub fn set_onshow(this: &Document, value: Option<&::js_sys::Function>);
1274 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onstalled)]
1275 #[doc = "Getter for the `onstalled` field of this object."]
1276 #[doc = ""]
1277 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)"]
1278 #[doc = ""]
1279 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1280 pub fn onstalled(this: &Document) -> Option<::js_sys::Function>;
1281 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onstalled)]
1282 #[doc = "Setter for the `onstalled` field of this object."]
1283 #[doc = ""]
1284 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onstalled)"]
1285 #[doc = ""]
1286 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1287 pub fn set_onstalled(this: &Document, value: Option<&::js_sys::Function>);
1288 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onsubmit)]
1289 #[doc = "Getter for the `onsubmit` field of this object."]
1290 #[doc = ""]
1291 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)"]
1292 #[doc = ""]
1293 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1294 pub fn onsubmit(this: &Document) -> Option<::js_sys::Function>;
1295 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onsubmit)]
1296 #[doc = "Setter for the `onsubmit` field of this object."]
1297 #[doc = ""]
1298 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsubmit)"]
1299 #[doc = ""]
1300 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1301 pub fn set_onsubmit(this: &Document, value: Option<&::js_sys::Function>);
1302 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onsuspend)]
1303 #[doc = "Getter for the `onsuspend` field of this object."]
1304 #[doc = ""]
1305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)"]
1306 #[doc = ""]
1307 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1308 pub fn onsuspend(this: &Document) -> Option<::js_sys::Function>;
1309 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onsuspend)]
1310 #[doc = "Setter for the `onsuspend` field of this object."]
1311 #[doc = ""]
1312 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onsuspend)"]
1313 #[doc = ""]
1314 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1315 pub fn set_onsuspend(this: &Document, value: Option<&::js_sys::Function>);
1316 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontimeupdate)]
1317 #[doc = "Getter for the `ontimeupdate` field of this object."]
1318 #[doc = ""]
1319 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)"]
1320 #[doc = ""]
1321 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1322 pub fn ontimeupdate(this: &Document) -> Option<::js_sys::Function>;
1323 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontimeupdate)]
1324 #[doc = "Setter for the `ontimeupdate` field of this object."]
1325 #[doc = ""]
1326 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontimeupdate)"]
1327 #[doc = ""]
1328 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1329 pub fn set_ontimeupdate(this: &Document, value: Option<&::js_sys::Function>);
1330 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onvolumechange)]
1331 #[doc = "Getter for the `onvolumechange` field of this object."]
1332 #[doc = ""]
1333 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)"]
1334 #[doc = ""]
1335 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1336 pub fn onvolumechange(this: &Document) -> Option<::js_sys::Function>;
1337 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onvolumechange)]
1338 #[doc = "Setter for the `onvolumechange` field of this object."]
1339 #[doc = ""]
1340 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onvolumechange)"]
1341 #[doc = ""]
1342 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1343 pub fn set_onvolumechange(this: &Document, value: Option<&::js_sys::Function>);
1344 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwaiting)]
1345 #[doc = "Getter for the `onwaiting` field of this object."]
1346 #[doc = ""]
1347 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)"]
1348 #[doc = ""]
1349 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1350 pub fn onwaiting(this: &Document) -> Option<::js_sys::Function>;
1351 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwaiting)]
1352 #[doc = "Setter for the `onwaiting` field of this object."]
1353 #[doc = ""]
1354 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwaiting)"]
1355 #[doc = ""]
1356 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1357 pub fn set_onwaiting(this: &Document, value: Option<&::js_sys::Function>);
1358 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onselectstart)]
1359 #[doc = "Getter for the `onselectstart` field of this object."]
1360 #[doc = ""]
1361 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)"]
1362 #[doc = ""]
1363 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1364 pub fn onselectstart(this: &Document) -> Option<::js_sys::Function>;
1365 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onselectstart)]
1366 #[doc = "Setter for the `onselectstart` field of this object."]
1367 #[doc = ""]
1368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onselectstart)"]
1369 #[doc = ""]
1370 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1371 pub fn set_onselectstart(this: &Document, value: Option<&::js_sys::Function>);
1372 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontoggle)]
1373 #[doc = "Getter for the `ontoggle` field of this object."]
1374 #[doc = ""]
1375 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)"]
1376 #[doc = ""]
1377 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1378 pub fn ontoggle(this: &Document) -> Option<::js_sys::Function>;
1379 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontoggle)]
1380 #[doc = "Setter for the `ontoggle` field of this object."]
1381 #[doc = ""]
1382 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontoggle)"]
1383 #[doc = ""]
1384 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1385 pub fn set_ontoggle(this: &Document, value: Option<&::js_sys::Function>);
1386 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointercancel)]
1387 #[doc = "Getter for the `onpointercancel` field of this object."]
1388 #[doc = ""]
1389 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)"]
1390 #[doc = ""]
1391 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1392 pub fn onpointercancel(this: &Document) -> Option<::js_sys::Function>;
1393 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointercancel)]
1394 #[doc = "Setter for the `onpointercancel` field of this object."]
1395 #[doc = ""]
1396 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointercancel)"]
1397 #[doc = ""]
1398 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1399 pub fn set_onpointercancel(this: &Document, value: Option<&::js_sys::Function>);
1400 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerdown)]
1401 #[doc = "Getter for the `onpointerdown` field of this object."]
1402 #[doc = ""]
1403 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)"]
1404 #[doc = ""]
1405 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1406 pub fn onpointerdown(this: &Document) -> Option<::js_sys::Function>;
1407 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerdown)]
1408 #[doc = "Setter for the `onpointerdown` field of this object."]
1409 #[doc = ""]
1410 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerdown)"]
1411 #[doc = ""]
1412 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1413 pub fn set_onpointerdown(this: &Document, value: Option<&::js_sys::Function>);
1414 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerup)]
1415 #[doc = "Getter for the `onpointerup` field of this object."]
1416 #[doc = ""]
1417 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)"]
1418 #[doc = ""]
1419 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1420 pub fn onpointerup(this: &Document) -> Option<::js_sys::Function>;
1421 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerup)]
1422 #[doc = "Setter for the `onpointerup` field of this object."]
1423 #[doc = ""]
1424 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerup)"]
1425 #[doc = ""]
1426 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1427 pub fn set_onpointerup(this: &Document, value: Option<&::js_sys::Function>);
1428 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointermove)]
1429 #[doc = "Getter for the `onpointermove` field of this object."]
1430 #[doc = ""]
1431 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)"]
1432 #[doc = ""]
1433 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1434 pub fn onpointermove(this: &Document) -> Option<::js_sys::Function>;
1435 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointermove)]
1436 #[doc = "Setter for the `onpointermove` field of this object."]
1437 #[doc = ""]
1438 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointermove)"]
1439 #[doc = ""]
1440 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1441 pub fn set_onpointermove(this: &Document, value: Option<&::js_sys::Function>);
1442 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerout)]
1443 #[doc = "Getter for the `onpointerout` field of this object."]
1444 #[doc = ""]
1445 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)"]
1446 #[doc = ""]
1447 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1448 pub fn onpointerout(this: &Document) -> Option<::js_sys::Function>;
1449 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerout)]
1450 #[doc = "Setter for the `onpointerout` field of this object."]
1451 #[doc = ""]
1452 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerout)"]
1453 #[doc = ""]
1454 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1455 pub fn set_onpointerout(this: &Document, value: Option<&::js_sys::Function>);
1456 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerover)]
1457 #[doc = "Getter for the `onpointerover` field of this object."]
1458 #[doc = ""]
1459 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)"]
1460 #[doc = ""]
1461 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1462 pub fn onpointerover(this: &Document) -> Option<::js_sys::Function>;
1463 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerover)]
1464 #[doc = "Setter for the `onpointerover` field of this object."]
1465 #[doc = ""]
1466 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerover)"]
1467 #[doc = ""]
1468 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1469 pub fn set_onpointerover(this: &Document, value: Option<&::js_sys::Function>);
1470 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerenter)]
1471 #[doc = "Getter for the `onpointerenter` field of this object."]
1472 #[doc = ""]
1473 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)"]
1474 #[doc = ""]
1475 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1476 pub fn onpointerenter(this: &Document) -> Option<::js_sys::Function>;
1477 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerenter)]
1478 #[doc = "Setter for the `onpointerenter` field of this object."]
1479 #[doc = ""]
1480 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerenter)"]
1481 #[doc = ""]
1482 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1483 pub fn set_onpointerenter(this: &Document, value: Option<&::js_sys::Function>);
1484 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onpointerleave)]
1485 #[doc = "Getter for the `onpointerleave` field of this object."]
1486 #[doc = ""]
1487 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)"]
1488 #[doc = ""]
1489 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1490 pub fn onpointerleave(this: &Document) -> Option<::js_sys::Function>;
1491 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onpointerleave)]
1492 #[doc = "Setter for the `onpointerleave` field of this object."]
1493 #[doc = ""]
1494 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onpointerleave)"]
1495 #[doc = ""]
1496 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1497 pub fn set_onpointerleave(this: &Document, value: Option<&::js_sys::Function>);
1498 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ongotpointercapture)]
1499 #[doc = "Getter for the `ongotpointercapture` field of this object."]
1500 #[doc = ""]
1501 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)"]
1502 #[doc = ""]
1503 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1504 pub fn ongotpointercapture(this: &Document) -> Option<::js_sys::Function>;
1505 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ongotpointercapture)]
1506 #[doc = "Setter for the `ongotpointercapture` field of this object."]
1507 #[doc = ""]
1508 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ongotpointercapture)"]
1509 #[doc = ""]
1510 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1511 pub fn set_ongotpointercapture(this: &Document, value: Option<&::js_sys::Function>);
1512 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onlostpointercapture)]
1513 #[doc = "Getter for the `onlostpointercapture` field of this object."]
1514 #[doc = ""]
1515 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)"]
1516 #[doc = ""]
1517 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1518 pub fn onlostpointercapture(this: &Document) -> Option<::js_sys::Function>;
1519 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onlostpointercapture)]
1520 #[doc = "Setter for the `onlostpointercapture` field of this object."]
1521 #[doc = ""]
1522 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onlostpointercapture)"]
1523 #[doc = ""]
1524 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1525 pub fn set_onlostpointercapture(this: &Document, value: Option<&::js_sys::Function>);
1526 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationcancel)]
1527 #[doc = "Getter for the `onanimationcancel` field of this object."]
1528 #[doc = ""]
1529 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)"]
1530 #[doc = ""]
1531 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1532 pub fn onanimationcancel(this: &Document) -> Option<::js_sys::Function>;
1533 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationcancel)]
1534 #[doc = "Setter for the `onanimationcancel` field of this object."]
1535 #[doc = ""]
1536 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationcancel)"]
1537 #[doc = ""]
1538 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1539 pub fn set_onanimationcancel(this: &Document, value: Option<&::js_sys::Function>);
1540 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationend)]
1541 #[doc = "Getter for the `onanimationend` field of this object."]
1542 #[doc = ""]
1543 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)"]
1544 #[doc = ""]
1545 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1546 pub fn onanimationend(this: &Document) -> Option<::js_sys::Function>;
1547 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationend)]
1548 #[doc = "Setter for the `onanimationend` field of this object."]
1549 #[doc = ""]
1550 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationend)"]
1551 #[doc = ""]
1552 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1553 pub fn set_onanimationend(this: &Document, value: Option<&::js_sys::Function>);
1554 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationiteration)]
1555 #[doc = "Getter for the `onanimationiteration` field of this object."]
1556 #[doc = ""]
1557 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)"]
1558 #[doc = ""]
1559 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1560 pub fn onanimationiteration(this: &Document) -> Option<::js_sys::Function>;
1561 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationiteration)]
1562 #[doc = "Setter for the `onanimationiteration` field of this object."]
1563 #[doc = ""]
1564 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationiteration)"]
1565 #[doc = ""]
1566 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1567 pub fn set_onanimationiteration(this: &Document, value: Option<&::js_sys::Function>);
1568 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onanimationstart)]
1569 #[doc = "Getter for the `onanimationstart` field of this object."]
1570 #[doc = ""]
1571 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)"]
1572 #[doc = ""]
1573 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1574 pub fn onanimationstart(this: &Document) -> Option<::js_sys::Function>;
1575 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onanimationstart)]
1576 #[doc = "Setter for the `onanimationstart` field of this object."]
1577 #[doc = ""]
1578 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onanimationstart)"]
1579 #[doc = ""]
1580 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1581 pub fn set_onanimationstart(this: &Document, value: Option<&::js_sys::Function>);
1582 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitioncancel)]
1583 #[doc = "Getter for the `ontransitioncancel` field of this object."]
1584 #[doc = ""]
1585 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)"]
1586 #[doc = ""]
1587 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1588 pub fn ontransitioncancel(this: &Document) -> Option<::js_sys::Function>;
1589 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitioncancel)]
1590 #[doc = "Setter for the `ontransitioncancel` field of this object."]
1591 #[doc = ""]
1592 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitioncancel)"]
1593 #[doc = ""]
1594 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1595 pub fn set_ontransitioncancel(this: &Document, value: Option<&::js_sys::Function>);
1596 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionend)]
1597 #[doc = "Getter for the `ontransitionend` field of this object."]
1598 #[doc = ""]
1599 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)"]
1600 #[doc = ""]
1601 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1602 pub fn ontransitionend(this: &Document) -> Option<::js_sys::Function>;
1603 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionend)]
1604 #[doc = "Setter for the `ontransitionend` field of this object."]
1605 #[doc = ""]
1606 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionend)"]
1607 #[doc = ""]
1608 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1609 pub fn set_ontransitionend(this: &Document, value: Option<&::js_sys::Function>);
1610 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionrun)]
1611 #[doc = "Getter for the `ontransitionrun` field of this object."]
1612 #[doc = ""]
1613 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)"]
1614 #[doc = ""]
1615 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1616 pub fn ontransitionrun(this: &Document) -> Option<::js_sys::Function>;
1617 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionrun)]
1618 #[doc = "Setter for the `ontransitionrun` field of this object."]
1619 #[doc = ""]
1620 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionrun)"]
1621 #[doc = ""]
1622 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1623 pub fn set_ontransitionrun(this: &Document, value: Option<&::js_sys::Function>);
1624 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontransitionstart)]
1625 #[doc = "Getter for the `ontransitionstart` field of this object."]
1626 #[doc = ""]
1627 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)"]
1628 #[doc = ""]
1629 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1630 pub fn ontransitionstart(this: &Document) -> Option<::js_sys::Function>;
1631 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontransitionstart)]
1632 #[doc = "Setter for the `ontransitionstart` field of this object."]
1633 #[doc = ""]
1634 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontransitionstart)"]
1635 #[doc = ""]
1636 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1637 pub fn set_ontransitionstart(this: &Document, value: Option<&::js_sys::Function>);
1638 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationend)]
1639 #[doc = "Getter for the `onwebkitanimationend` field of this object."]
1640 #[doc = ""]
1641 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)"]
1642 #[doc = ""]
1643 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1644 pub fn onwebkitanimationend(this: &Document) -> Option<::js_sys::Function>;
1645 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationend)]
1646 #[doc = "Setter for the `onwebkitanimationend` field of this object."]
1647 #[doc = ""]
1648 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationend)"]
1649 #[doc = ""]
1650 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1651 pub fn set_onwebkitanimationend(this: &Document, value: Option<&::js_sys::Function>);
1652 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationiteration)]
1653 #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
1654 #[doc = ""]
1655 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)"]
1656 #[doc = ""]
1657 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1658 pub fn onwebkitanimationiteration(this: &Document) -> Option<::js_sys::Function>;
1659 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationiteration)]
1660 #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
1661 #[doc = ""]
1662 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationiteration)"]
1663 #[doc = ""]
1664 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1665 pub fn set_onwebkitanimationiteration(this: &Document, value: Option<&::js_sys::Function>);
1666 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkitanimationstart)]
1667 #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
1668 #[doc = ""]
1669 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)"]
1670 #[doc = ""]
1671 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1672 pub fn onwebkitanimationstart(this: &Document) -> Option<::js_sys::Function>;
1673 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkitanimationstart)]
1674 #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
1675 #[doc = ""]
1676 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkitanimationstart)"]
1677 #[doc = ""]
1678 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1679 pub fn set_onwebkitanimationstart(this: &Document, value: Option<&::js_sys::Function>);
1680 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onwebkittransitionend)]
1681 #[doc = "Getter for the `onwebkittransitionend` field of this object."]
1682 #[doc = ""]
1683 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)"]
1684 #[doc = ""]
1685 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1686 pub fn onwebkittransitionend(this: &Document) -> Option<::js_sys::Function>;
1687 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onwebkittransitionend)]
1688 #[doc = "Setter for the `onwebkittransitionend` field of this object."]
1689 #[doc = ""]
1690 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onwebkittransitionend)"]
1691 #[doc = ""]
1692 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1693 pub fn set_onwebkittransitionend(this: &Document, value: Option<&::js_sys::Function>);
1694 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = onerror)]
1695 #[doc = "Getter for the `onerror` field of this object."]
1696 #[doc = ""]
1697 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)"]
1698 #[doc = ""]
1699 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1700 pub fn onerror(this: &Document) -> Option<::js_sys::Function>;
1701 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = onerror)]
1702 #[doc = "Setter for the `onerror` field of this object."]
1703 #[doc = ""]
1704 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/onerror)"]
1705 #[doc = ""]
1706 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1707 pub fn set_onerror(this: &Document, value: Option<&::js_sys::Function>);
1708 #[cfg(feature = "HtmlCollection")]
1709 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = children)]
1710 #[doc = "Getter for the `children` field of this object."]
1711 #[doc = ""]
1712 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/children)"]
1713 #[doc = ""]
1714 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
1715 pub fn children(this: &Document) -> HtmlCollection;
1716 #[cfg(feature = "Element")]
1717 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = firstElementChild)]
1718 #[doc = "Getter for the `firstElementChild` field of this object."]
1719 #[doc = ""]
1720 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/firstElementChild)"]
1721 #[doc = ""]
1722 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1723 pub fn first_element_child(this: &Document) -> Option<Element>;
1724 #[cfg(feature = "Element")]
1725 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = lastElementChild)]
1726 #[doc = "Getter for the `lastElementChild` field of this object."]
1727 #[doc = ""]
1728 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/lastElementChild)"]
1729 #[doc = ""]
1730 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1731 pub fn last_element_child(this: &Document) -> Option<Element>;
1732 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = childElementCount)]
1733 #[doc = "Getter for the `childElementCount` field of this object."]
1734 #[doc = ""]
1735 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/childElementCount)"]
1736 #[doc = ""]
1737 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1738 pub fn child_element_count(this: &Document) -> u32;
1739 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchstart)]
1740 #[doc = "Getter for the `ontouchstart` field of this object."]
1741 #[doc = ""]
1742 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)"]
1743 #[doc = ""]
1744 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1745 pub fn ontouchstart(this: &Document) -> Option<::js_sys::Function>;
1746 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchstart)]
1747 #[doc = "Setter for the `ontouchstart` field of this object."]
1748 #[doc = ""]
1749 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchstart)"]
1750 #[doc = ""]
1751 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1752 pub fn set_ontouchstart(this: &Document, value: Option<&::js_sys::Function>);
1753 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchend)]
1754 #[doc = "Getter for the `ontouchend` field of this object."]
1755 #[doc = ""]
1756 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)"]
1757 #[doc = ""]
1758 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1759 pub fn ontouchend(this: &Document) -> Option<::js_sys::Function>;
1760 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchend)]
1761 #[doc = "Setter for the `ontouchend` field of this object."]
1762 #[doc = ""]
1763 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchend)"]
1764 #[doc = ""]
1765 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1766 pub fn set_ontouchend(this: &Document, value: Option<&::js_sys::Function>);
1767 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchmove)]
1768 #[doc = "Getter for the `ontouchmove` field of this object."]
1769 #[doc = ""]
1770 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)"]
1771 #[doc = ""]
1772 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1773 pub fn ontouchmove(this: &Document) -> Option<::js_sys::Function>;
1774 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchmove)]
1775 #[doc = "Setter for the `ontouchmove` field of this object."]
1776 #[doc = ""]
1777 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchmove)"]
1778 #[doc = ""]
1779 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1780 pub fn set_ontouchmove(this: &Document, value: Option<&::js_sys::Function>);
1781 # [wasm_bindgen (structural , method , getter , js_class = "Document" , js_name = ontouchcancel)]
1782 #[doc = "Getter for the `ontouchcancel` field of this object."]
1783 #[doc = ""]
1784 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)"]
1785 #[doc = ""]
1786 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1787 pub fn ontouchcancel(this: &Document) -> Option<::js_sys::Function>;
1788 # [wasm_bindgen (structural , method , setter , js_class = "Document" , js_name = ontouchcancel)]
1789 #[doc = "Setter for the `ontouchcancel` field of this object."]
1790 #[doc = ""]
1791 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/ontouchcancel)"]
1792 #[doc = ""]
1793 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1794 pub fn set_ontouchcancel(this: &Document, value: Option<&::js_sys::Function>);
1795 #[wasm_bindgen(catch, constructor, js_class = "Document")]
1796 #[doc = "The `new Document(..)` constructor, creating a new instance of `Document`."]
1797 #[doc = ""]
1798 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/Document)"]
1799 #[doc = ""]
1800 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1801 pub fn new() -> Result<Document, JsValue>;
1802 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = adoptNode)]
1803 #[doc = "The `adoptNode()` method."]
1804 #[doc = ""]
1805 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/adoptNode)"]
1806 #[doc = ""]
1807 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
1808 pub fn adopt_node(this: &Document, node: &Node) -> Result<Node, JsValue>;
1809 #[cfg(feature = "CaretPosition")]
1810 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = caretPositionFromPoint)]
1811 #[doc = "The `caretPositionFromPoint()` method."]
1812 #[doc = ""]
1813 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/caretPositionFromPoint)"]
1814 #[doc = ""]
1815 #[doc = "*This API requires the following crate features to be activated: `CaretPosition`, `Document`*"]
1816 pub fn caret_position_from_point(this: &Document, x: f32, y: f32) -> Option<CaretPosition>;
1817 #[cfg(feature = "Attr")]
1818 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createAttribute)]
1819 #[doc = "The `createAttribute()` method."]
1820 #[doc = ""]
1821 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttribute)"]
1822 #[doc = ""]
1823 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"]
1824 pub fn create_attribute(this: &Document, name: &str) -> Result<Attr, JsValue>;
1825 #[cfg(feature = "Attr")]
1826 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createAttributeNS)]
1827 #[doc = "The `createAttributeNS()` method."]
1828 #[doc = ""]
1829 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createAttributeNS)"]
1830 #[doc = ""]
1831 #[doc = "*This API requires the following crate features to be activated: `Attr`, `Document`*"]
1832 pub fn create_attribute_ns(
1833 this: &Document,
1834 namespace: Option<&str>,
1835 name: &str,
1836 ) -> Result<Attr, JsValue>;
1837 #[cfg(feature = "CdataSection")]
1838 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createCDATASection)]
1839 #[doc = "The `createCDATASection()` method."]
1840 #[doc = ""]
1841 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createCDATASection)"]
1842 #[doc = ""]
1843 #[doc = "*This API requires the following crate features to be activated: `CdataSection`, `Document`*"]
1844 pub fn create_cdata_section(this: &Document, data: &str) -> Result<CdataSection, JsValue>;
1845 #[cfg(feature = "Comment")]
1846 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createComment)]
1847 #[doc = "The `createComment()` method."]
1848 #[doc = ""]
1849 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createComment)"]
1850 #[doc = ""]
1851 #[doc = "*This API requires the following crate features to be activated: `Comment`, `Document`*"]
1852 pub fn create_comment(this: &Document, data: &str) -> Comment;
1853 #[cfg(feature = "DocumentFragment")]
1854 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createDocumentFragment)]
1855 #[doc = "The `createDocumentFragment()` method."]
1856 #[doc = ""]
1857 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createDocumentFragment)"]
1858 #[doc = ""]
1859 #[doc = "*This API requires the following crate features to be activated: `Document`, `DocumentFragment`*"]
1860 pub fn create_document_fragment(this: &Document) -> DocumentFragment;
1861 #[cfg(feature = "Element")]
1862 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
1863 #[doc = "The `createElement()` method."]
1864 #[doc = ""]
1865 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
1866 #[doc = ""]
1867 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1868 pub fn create_element(this: &Document, local_name: &str) -> Result<Element, JsValue>;
1869 #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))]
1870 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
1871 #[doc = "The `createElement()` method."]
1872 #[doc = ""]
1873 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
1874 #[doc = ""]
1875 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*"]
1876 pub fn create_element_with_element_creation_options(
1877 this: &Document,
1878 local_name: &str,
1879 options: &ElementCreationOptions,
1880 ) -> Result<Element, JsValue>;
1881 #[cfg(feature = "Element")]
1882 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElement)]
1883 #[doc = "The `createElement()` method."]
1884 #[doc = ""]
1885 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement)"]
1886 #[doc = ""]
1887 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1888 pub fn create_element_with_str(
1889 this: &Document,
1890 local_name: &str,
1891 options: &str,
1892 ) -> Result<Element, JsValue>;
1893 #[cfg(feature = "Element")]
1894 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
1895 #[doc = "The `createElementNS()` method."]
1896 #[doc = ""]
1897 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
1898 #[doc = ""]
1899 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1900 pub fn create_element_ns(
1901 this: &Document,
1902 namespace: Option<&str>,
1903 qualified_name: &str,
1904 ) -> Result<Element, JsValue>;
1905 #[cfg(all(feature = "Element", feature = "ElementCreationOptions",))]
1906 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
1907 #[doc = "The `createElementNS()` method."]
1908 #[doc = ""]
1909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
1910 #[doc = ""]
1911 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`, `ElementCreationOptions`*"]
1912 pub fn create_element_ns_with_element_creation_options(
1913 this: &Document,
1914 namespace: Option<&str>,
1915 qualified_name: &str,
1916 options: &ElementCreationOptions,
1917 ) -> Result<Element, JsValue>;
1918 #[cfg(feature = "Element")]
1919 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createElementNS)]
1920 #[doc = "The `createElementNS()` method."]
1921 #[doc = ""]
1922 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS)"]
1923 #[doc = ""]
1924 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
1925 pub fn create_element_ns_with_str(
1926 this: &Document,
1927 namespace: Option<&str>,
1928 qualified_name: &str,
1929 options: &str,
1930 ) -> Result<Element, JsValue>;
1931 #[cfg(feature = "Event")]
1932 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createEvent)]
1933 #[doc = "The `createEvent()` method."]
1934 #[doc = ""]
1935 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createEvent)"]
1936 #[doc = ""]
1937 #[doc = "*This API requires the following crate features to be activated: `Document`, `Event`*"]
1938 pub fn create_event(this: &Document, interface: &str) -> Result<Event, JsValue>;
1939 #[cfg(feature = "NodeIterator")]
1940 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
1941 #[doc = "The `createNodeIterator()` method."]
1942 #[doc = ""]
1943 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
1944 #[doc = ""]
1945 #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"]
1946 pub fn create_node_iterator(this: &Document, root: &Node) -> Result<NodeIterator, JsValue>;
1947 #[cfg(feature = "NodeIterator")]
1948 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
1949 #[doc = "The `createNodeIterator()` method."]
1950 #[doc = ""]
1951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
1952 #[doc = ""]
1953 #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeIterator`*"]
1954 pub fn create_node_iterator_with_what_to_show(
1955 this: &Document,
1956 root: &Node,
1957 what_to_show: u32,
1958 ) -> Result<NodeIterator, JsValue>;
1959 #[cfg(all(feature = "NodeFilter", feature = "NodeIterator",))]
1960 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createNodeIterator)]
1961 #[doc = "The `createNodeIterator()` method."]
1962 #[doc = ""]
1963 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNodeIterator)"]
1964 #[doc = ""]
1965 #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeFilter`, `NodeIterator`*"]
1966 pub fn create_node_iterator_with_what_to_show_and_filter(
1967 this: &Document,
1968 root: &Node,
1969 what_to_show: u32,
1970 filter: Option<&NodeFilter>,
1971 ) -> Result<NodeIterator, JsValue>;
1972 #[cfg(feature = "ProcessingInstruction")]
1973 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createProcessingInstruction)]
1974 #[doc = "The `createProcessingInstruction()` method."]
1975 #[doc = ""]
1976 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createProcessingInstruction)"]
1977 #[doc = ""]
1978 #[doc = "*This API requires the following crate features to be activated: `Document`, `ProcessingInstruction`*"]
1979 pub fn create_processing_instruction(
1980 this: &Document,
1981 target: &str,
1982 data: &str,
1983 ) -> Result<ProcessingInstruction, JsValue>;
1984 #[cfg(feature = "Range")]
1985 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createRange)]
1986 #[doc = "The `createRange()` method."]
1987 #[doc = ""]
1988 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createRange)"]
1989 #[doc = ""]
1990 #[doc = "*This API requires the following crate features to be activated: `Document`, `Range`*"]
1991 pub fn create_range(this: &Document) -> Result<Range, JsValue>;
1992 #[cfg(feature = "Text")]
1993 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createTextNode)]
1994 #[doc = "The `createTextNode()` method."]
1995 #[doc = ""]
1996 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTextNode)"]
1997 #[doc = ""]
1998 #[doc = "*This API requires the following crate features to be activated: `Document`, `Text`*"]
1999 pub fn create_text_node(this: &Document, data: &str) -> Text;
2000 #[cfg(feature = "TreeWalker")]
2001 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
2002 #[doc = "The `createTreeWalker()` method."]
2003 #[doc = ""]
2004 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
2005 #[doc = ""]
2006 #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"]
2007 pub fn create_tree_walker(this: &Document, root: &Node) -> Result<TreeWalker, JsValue>;
2008 #[cfg(feature = "TreeWalker")]
2009 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
2010 #[doc = "The `createTreeWalker()` method."]
2011 #[doc = ""]
2012 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
2013 #[doc = ""]
2014 #[doc = "*This API requires the following crate features to be activated: `Document`, `TreeWalker`*"]
2015 pub fn create_tree_walker_with_what_to_show(
2016 this: &Document,
2017 root: &Node,
2018 what_to_show: u32,
2019 ) -> Result<TreeWalker, JsValue>;
2020 #[cfg(all(feature = "NodeFilter", feature = "TreeWalker",))]
2021 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createTreeWalker)]
2022 #[doc = "The `createTreeWalker()` method."]
2023 #[doc = ""]
2024 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createTreeWalker)"]
2025 #[doc = ""]
2026 #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeFilter`, `TreeWalker`*"]
2027 pub fn create_tree_walker_with_what_to_show_and_filter(
2028 this: &Document,
2029 root: &Node,
2030 what_to_show: u32,
2031 filter: Option<&NodeFilter>,
2032 ) -> Result<TreeWalker, JsValue>;
2033 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = enableStyleSheetsForSet)]
2034 #[doc = "The `enableStyleSheetsForSet()` method."]
2035 #[doc = ""]
2036 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/enableStyleSheetsForSet)"]
2037 #[doc = ""]
2038 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2039 pub fn enable_style_sheets_for_set(this: &Document, name: Option<&str>);
2040 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = exitFullscreen)]
2041 #[doc = "The `exitFullscreen()` method."]
2042 #[doc = ""]
2043 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitFullscreen)"]
2044 #[doc = ""]
2045 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2046 pub fn exit_fullscreen(this: &Document);
2047 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = exitPointerLock)]
2048 #[doc = "The `exitPointerLock()` method."]
2049 #[doc = ""]
2050 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/exitPointerLock)"]
2051 #[doc = ""]
2052 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2053 pub fn exit_pointer_lock(this: &Document);
2054 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getAnimations)]
2055 #[doc = "The `getAnimations()` method."]
2056 #[doc = ""]
2057 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations)"]
2058 #[doc = ""]
2059 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2060 pub fn get_animations(this: &Document) -> ::js_sys::Array;
2061 #[cfg(feature = "Element")]
2062 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementById)]
2063 #[doc = "The `getElementById()` method."]
2064 #[doc = ""]
2065 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById)"]
2066 #[doc = ""]
2067 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
2068 pub fn get_element_by_id(this: &Document, element_id: &str) -> Option<Element>;
2069 #[cfg(feature = "HtmlCollection")]
2070 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByClassName)]
2071 #[doc = "The `getElementsByClassName()` method."]
2072 #[doc = ""]
2073 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName)"]
2074 #[doc = ""]
2075 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
2076 pub fn get_elements_by_class_name(this: &Document, class_names: &str) -> HtmlCollection;
2077 #[cfg(feature = "NodeList")]
2078 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByName)]
2079 #[doc = "The `getElementsByName()` method."]
2080 #[doc = ""]
2081 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByName)"]
2082 #[doc = ""]
2083 #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeList`*"]
2084 pub fn get_elements_by_name(this: &Document, element_name: &str) -> NodeList;
2085 #[cfg(feature = "HtmlCollection")]
2086 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = getElementsByTagName)]
2087 #[doc = "The `getElementsByTagName()` method."]
2088 #[doc = ""]
2089 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagName)"]
2090 #[doc = ""]
2091 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
2092 pub fn get_elements_by_tag_name(this: &Document, local_name: &str) -> HtmlCollection;
2093 #[cfg(feature = "HtmlCollection")]
2094 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getElementsByTagNameNS)]
2095 #[doc = "The `getElementsByTagNameNS()` method."]
2096 #[doc = ""]
2097 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByTagNameNS)"]
2098 #[doc = ""]
2099 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlCollection`*"]
2100 pub fn get_elements_by_tag_name_ns(
2101 this: &Document,
2102 namespace: Option<&str>,
2103 local_name: &str,
2104 ) -> Result<HtmlCollection, JsValue>;
2105 #[cfg(feature = "Selection")]
2106 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getSelection)]
2107 #[doc = "The `getSelection()` method."]
2108 #[doc = ""]
2109 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getSelection)"]
2110 #[doc = ""]
2111 #[doc = "*This API requires the following crate features to be activated: `Document`, `Selection`*"]
2112 pub fn get_selection(this: &Document) -> Result<Option<Selection>, JsValue>;
2113 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = hasFocus)]
2114 #[doc = "The `hasFocus()` method."]
2115 #[doc = ""]
2116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus)"]
2117 #[doc = ""]
2118 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2119 pub fn has_focus(this: &Document) -> Result<bool, JsValue>;
2120 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = importNode)]
2121 #[doc = "The `importNode()` method."]
2122 #[doc = ""]
2123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)"]
2124 #[doc = ""]
2125 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2126 pub fn import_node(this: &Document, node: &Node) -> Result<Node, JsValue>;
2127 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = importNode)]
2128 #[doc = "The `importNode()` method."]
2129 #[doc = ""]
2130 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/importNode)"]
2131 #[doc = ""]
2132 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2133 pub fn import_node_with_deep(this: &Document, node: &Node, deep: bool)
2134 -> Result<Node, JsValue>;
2135 #[cfg(feature = "Element")]
2136 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = querySelector)]
2137 #[doc = "The `querySelector()` method."]
2138 #[doc = ""]
2139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector)"]
2140 #[doc = ""]
2141 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
2142 pub fn query_selector(this: &Document, selectors: &str) -> Result<Option<Element>, JsValue>;
2143 #[cfg(feature = "NodeList")]
2144 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = querySelectorAll)]
2145 #[doc = "The `querySelectorAll()` method."]
2146 #[doc = ""]
2147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll)"]
2148 #[doc = ""]
2149 #[doc = "*This API requires the following crate features to be activated: `Document`, `NodeList`*"]
2150 pub fn query_selector_all(this: &Document, selectors: &str) -> Result<NodeList, JsValue>;
2151 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = releaseCapture)]
2152 #[doc = "The `releaseCapture()` method."]
2153 #[doc = ""]
2154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/releaseCapture)"]
2155 #[doc = ""]
2156 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2157 pub fn release_capture(this: &Document);
2158 #[cfg(web_sys_unstable_apis)]
2159 #[cfg(feature = "ViewTransition")]
2160 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = startViewTransition)]
2161 #[doc = "The `startViewTransition()` method."]
2162 #[doc = ""]
2163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition)"]
2164 #[doc = ""]
2165 #[doc = "*This API requires the following crate features to be activated: `Document`, `ViewTransition`*"]
2166 #[doc = ""]
2167 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2168 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
2169 pub fn start_view_transition(this: &Document) -> Result<ViewTransition, JsValue>;
2170 #[cfg(web_sys_unstable_apis)]
2171 #[cfg(feature = "ViewTransition")]
2172 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = startViewTransition)]
2173 #[doc = "The `startViewTransition()` method."]
2174 #[doc = ""]
2175 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/startViewTransition)"]
2176 #[doc = ""]
2177 #[doc = "*This API requires the following crate features to be activated: `Document`, `ViewTransition`*"]
2178 #[doc = ""]
2179 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2180 #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
2181 pub fn start_view_transition_with_update_callback(
2182 this: &Document,
2183 update_callback: Option<&::js_sys::Function>,
2184 ) -> Result<ViewTransition, JsValue>;
2185 #[cfg(feature = "Element")]
2186 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = elementFromPoint)]
2187 #[doc = "The `elementFromPoint()` method."]
2188 #[doc = ""]
2189 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint)"]
2190 #[doc = ""]
2191 #[doc = "*This API requires the following crate features to be activated: `Document`, `Element`*"]
2192 pub fn element_from_point(this: &Document, x: f32, y: f32) -> Option<Element>;
2193 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = elementsFromPoint)]
2194 #[doc = "The `elementsFromPoint()` method."]
2195 #[doc = ""]
2196 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementsFromPoint)"]
2197 #[doc = ""]
2198 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2199 pub fn elements_from_point(this: &Document, x: f32, y: f32) -> ::js_sys::Array;
2200 #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Text",))]
2201 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2202 #[doc = "The `convertPointFromNode()` method."]
2203 #[doc = ""]
2204 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2205 #[doc = ""]
2206 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
2207 pub fn convert_point_from_node_with_text(
2208 this: &Document,
2209 point: &DomPointInit,
2210 from: &Text,
2211 ) -> Result<DomPoint, JsValue>;
2212 #[cfg(all(feature = "DomPoint", feature = "DomPointInit", feature = "Element",))]
2213 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2214 #[doc = "The `convertPointFromNode()` method."]
2215 #[doc = ""]
2216 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2217 #[doc = ""]
2218 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
2219 pub fn convert_point_from_node_with_element(
2220 this: &Document,
2221 point: &DomPointInit,
2222 from: &Element,
2223 ) -> Result<DomPoint, JsValue>;
2224 #[cfg(all(feature = "DomPoint", feature = "DomPointInit",))]
2225 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2226 #[doc = "The `convertPointFromNode()` method."]
2227 #[doc = ""]
2228 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2229 #[doc = ""]
2230 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`*"]
2231 pub fn convert_point_from_node_with_document(
2232 this: &Document,
2233 point: &DomPointInit,
2234 from: &Document,
2235 ) -> Result<DomPoint, JsValue>;
2236 #[cfg(all(
2237 feature = "ConvertCoordinateOptions",
2238 feature = "DomPoint",
2239 feature = "DomPointInit",
2240 feature = "Text",
2241 ))]
2242 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2243 #[doc = "The `convertPointFromNode()` method."]
2244 #[doc = ""]
2245 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2246 #[doc = ""]
2247 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Text`*"]
2248 pub fn convert_point_from_node_with_text_and_options(
2249 this: &Document,
2250 point: &DomPointInit,
2251 from: &Text,
2252 options: &ConvertCoordinateOptions,
2253 ) -> Result<DomPoint, JsValue>;
2254 #[cfg(all(
2255 feature = "ConvertCoordinateOptions",
2256 feature = "DomPoint",
2257 feature = "DomPointInit",
2258 feature = "Element",
2259 ))]
2260 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2261 #[doc = "The `convertPointFromNode()` method."]
2262 #[doc = ""]
2263 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2264 #[doc = ""]
2265 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*"]
2266 pub fn convert_point_from_node_with_element_and_options(
2267 this: &Document,
2268 point: &DomPointInit,
2269 from: &Element,
2270 options: &ConvertCoordinateOptions,
2271 ) -> Result<DomPoint, JsValue>;
2272 #[cfg(all(
2273 feature = "ConvertCoordinateOptions",
2274 feature = "DomPoint",
2275 feature = "DomPointInit",
2276 ))]
2277 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertPointFromNode)]
2278 #[doc = "The `convertPointFromNode()` method."]
2279 #[doc = ""]
2280 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertPointFromNode)"]
2281 #[doc = ""]
2282 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`*"]
2283 pub fn convert_point_from_node_with_document_and_options(
2284 this: &Document,
2285 point: &DomPointInit,
2286 from: &Document,
2287 options: &ConvertCoordinateOptions,
2288 ) -> Result<DomPoint, JsValue>;
2289 #[cfg(all(feature = "DomQuad", feature = "Text",))]
2290 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2291 #[doc = "The `convertQuadFromNode()` method."]
2292 #[doc = ""]
2293 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2294 #[doc = ""]
2295 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Text`*"]
2296 pub fn convert_quad_from_node_with_text(
2297 this: &Document,
2298 quad: &DomQuad,
2299 from: &Text,
2300 ) -> Result<DomQuad, JsValue>;
2301 #[cfg(all(feature = "DomQuad", feature = "Element",))]
2302 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2303 #[doc = "The `convertQuadFromNode()` method."]
2304 #[doc = ""]
2305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2306 #[doc = ""]
2307 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*"]
2308 pub fn convert_quad_from_node_with_element(
2309 this: &Document,
2310 quad: &DomQuad,
2311 from: &Element,
2312 ) -> Result<DomQuad, JsValue>;
2313 #[cfg(feature = "DomQuad")]
2314 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2315 #[doc = "The `convertQuadFromNode()` method."]
2316 #[doc = ""]
2317 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2318 #[doc = ""]
2319 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`*"]
2320 pub fn convert_quad_from_node_with_document(
2321 this: &Document,
2322 quad: &DomQuad,
2323 from: &Document,
2324 ) -> Result<DomQuad, JsValue>;
2325 #[cfg(all(
2326 feature = "ConvertCoordinateOptions",
2327 feature = "DomQuad",
2328 feature = "Text",
2329 ))]
2330 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2331 #[doc = "The `convertQuadFromNode()` method."]
2332 #[doc = ""]
2333 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2334 #[doc = ""]
2335 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Text`*"]
2336 pub fn convert_quad_from_node_with_text_and_options(
2337 this: &Document,
2338 quad: &DomQuad,
2339 from: &Text,
2340 options: &ConvertCoordinateOptions,
2341 ) -> Result<DomQuad, JsValue>;
2342 #[cfg(all(
2343 feature = "ConvertCoordinateOptions",
2344 feature = "DomQuad",
2345 feature = "Element",
2346 ))]
2347 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2348 #[doc = "The `convertQuadFromNode()` method."]
2349 #[doc = ""]
2350 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2351 #[doc = ""]
2352 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*"]
2353 pub fn convert_quad_from_node_with_element_and_options(
2354 this: &Document,
2355 quad: &DomQuad,
2356 from: &Element,
2357 options: &ConvertCoordinateOptions,
2358 ) -> Result<DomQuad, JsValue>;
2359 #[cfg(all(feature = "ConvertCoordinateOptions", feature = "DomQuad",))]
2360 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertQuadFromNode)]
2361 #[doc = "The `convertQuadFromNode()` method."]
2362 #[doc = ""]
2363 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertQuadFromNode)"]
2364 #[doc = ""]
2365 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`*"]
2366 pub fn convert_quad_from_node_with_document_and_options(
2367 this: &Document,
2368 quad: &DomQuad,
2369 from: &Document,
2370 options: &ConvertCoordinateOptions,
2371 ) -> Result<DomQuad, JsValue>;
2372 #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Text",))]
2373 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2374 #[doc = "The `convertRectFromNode()` method."]
2375 #[doc = ""]
2376 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2377 #[doc = ""]
2378 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
2379 pub fn convert_rect_from_node_with_text(
2380 this: &Document,
2381 rect: &DomRectReadOnly,
2382 from: &Text,
2383 ) -> Result<DomQuad, JsValue>;
2384 #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly", feature = "Element",))]
2385 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2386 #[doc = "The `convertRectFromNode()` method."]
2387 #[doc = ""]
2388 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2389 #[doc = ""]
2390 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
2391 pub fn convert_rect_from_node_with_element(
2392 this: &Document,
2393 rect: &DomRectReadOnly,
2394 from: &Element,
2395 ) -> Result<DomQuad, JsValue>;
2396 #[cfg(all(feature = "DomQuad", feature = "DomRectReadOnly",))]
2397 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2398 #[doc = "The `convertRectFromNode()` method."]
2399 #[doc = ""]
2400 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2401 #[doc = ""]
2402 #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`*"]
2403 pub fn convert_rect_from_node_with_document(
2404 this: &Document,
2405 rect: &DomRectReadOnly,
2406 from: &Document,
2407 ) -> Result<DomQuad, JsValue>;
2408 #[cfg(all(
2409 feature = "ConvertCoordinateOptions",
2410 feature = "DomQuad",
2411 feature = "DomRectReadOnly",
2412 feature = "Text",
2413 ))]
2414 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2415 #[doc = "The `convertRectFromNode()` method."]
2416 #[doc = ""]
2417 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2418 #[doc = ""]
2419 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Text`*"]
2420 pub fn convert_rect_from_node_with_text_and_options(
2421 this: &Document,
2422 rect: &DomRectReadOnly,
2423 from: &Text,
2424 options: &ConvertCoordinateOptions,
2425 ) -> Result<DomQuad, JsValue>;
2426 #[cfg(all(
2427 feature = "ConvertCoordinateOptions",
2428 feature = "DomQuad",
2429 feature = "DomRectReadOnly",
2430 feature = "Element",
2431 ))]
2432 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2433 #[doc = "The `convertRectFromNode()` method."]
2434 #[doc = ""]
2435 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2436 #[doc = ""]
2437 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*"]
2438 pub fn convert_rect_from_node_with_element_and_options(
2439 this: &Document,
2440 rect: &DomRectReadOnly,
2441 from: &Element,
2442 options: &ConvertCoordinateOptions,
2443 ) -> Result<DomQuad, JsValue>;
2444 #[cfg(all(
2445 feature = "ConvertCoordinateOptions",
2446 feature = "DomQuad",
2447 feature = "DomRectReadOnly",
2448 ))]
2449 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = convertRectFromNode)]
2450 #[doc = "The `convertRectFromNode()` method."]
2451 #[doc = ""]
2452 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/convertRectFromNode)"]
2453 #[doc = ""]
2454 #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`*"]
2455 pub fn convert_rect_from_node_with_document_and_options(
2456 this: &Document,
2457 rect: &DomRectReadOnly,
2458 from: &Document,
2459 options: &ConvertCoordinateOptions,
2460 ) -> Result<DomQuad, JsValue>;
2461 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getBoxQuads)]
2462 #[doc = "The `getBoxQuads()` method."]
2463 #[doc = ""]
2464 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)"]
2465 #[doc = ""]
2466 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2467 pub fn get_box_quads(this: &Document) -> Result<::js_sys::Array, JsValue>;
2468 #[cfg(feature = "BoxQuadOptions")]
2469 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = getBoxQuads)]
2470 #[doc = "The `getBoxQuads()` method."]
2471 #[doc = ""]
2472 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/getBoxQuads)"]
2473 #[doc = ""]
2474 #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Document`*"]
2475 pub fn get_box_quads_with_options(
2476 this: &Document,
2477 options: &BoxQuadOptions,
2478 ) -> Result<::js_sys::Array, JsValue>;
2479 # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = append)]
2480 #[doc = "The `append()` method."]
2481 #[doc = ""]
2482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2483 #[doc = ""]
2484 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2485 pub fn append_with_node(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2486 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2487 #[doc = "The `append()` method."]
2488 #[doc = ""]
2489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2490 #[doc = ""]
2491 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2492 pub fn append_with_node_0(this: &Document) -> Result<(), JsValue>;
2493 # [wasm_bindgen (catch , method , structural , 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_1(this: &Document, nodes_1: &Node) -> 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_2(
2507 this: &Document,
2508 nodes_1: &Node,
2509 nodes_2: &Node,
2510 ) -> Result<(), JsValue>;
2511 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2512 #[doc = "The `append()` method."]
2513 #[doc = ""]
2514 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2515 #[doc = ""]
2516 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2517 pub fn append_with_node_3(
2518 this: &Document,
2519 nodes_1: &Node,
2520 nodes_2: &Node,
2521 nodes_3: &Node,
2522 ) -> Result<(), JsValue>;
2523 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2524 #[doc = "The `append()` method."]
2525 #[doc = ""]
2526 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2527 #[doc = ""]
2528 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2529 pub fn append_with_node_4(
2530 this: &Document,
2531 nodes_1: &Node,
2532 nodes_2: &Node,
2533 nodes_3: &Node,
2534 nodes_4: &Node,
2535 ) -> Result<(), JsValue>;
2536 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2537 #[doc = "The `append()` method."]
2538 #[doc = ""]
2539 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2540 #[doc = ""]
2541 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2542 pub fn append_with_node_5(
2543 this: &Document,
2544 nodes_1: &Node,
2545 nodes_2: &Node,
2546 nodes_3: &Node,
2547 nodes_4: &Node,
2548 nodes_5: &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_6(
2557 this: &Document,
2558 nodes_1: &Node,
2559 nodes_2: &Node,
2560 nodes_3: &Node,
2561 nodes_4: &Node,
2562 nodes_5: &Node,
2563 nodes_6: &Node,
2564 ) -> Result<(), JsValue>;
2565 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2566 #[doc = "The `append()` method."]
2567 #[doc = ""]
2568 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2569 #[doc = ""]
2570 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2571 pub fn append_with_node_7(
2572 this: &Document,
2573 nodes_1: &Node,
2574 nodes_2: &Node,
2575 nodes_3: &Node,
2576 nodes_4: &Node,
2577 nodes_5: &Node,
2578 nodes_6: &Node,
2579 nodes_7: &Node,
2580 ) -> Result<(), JsValue>;
2581 # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = append)]
2582 #[doc = "The `append()` method."]
2583 #[doc = ""]
2584 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2585 #[doc = ""]
2586 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2587 pub fn append_with_str(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2588 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2589 #[doc = "The `append()` method."]
2590 #[doc = ""]
2591 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2592 #[doc = ""]
2593 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2594 pub fn append_with_str_0(this: &Document) -> Result<(), JsValue>;
2595 # [wasm_bindgen (catch , method , structural , 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_1(this: &Document, nodes_1: &str) -> 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_2(this: &Document, nodes_1: &str, nodes_2: &str) -> 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_3(
2616 this: &Document,
2617 nodes_1: &str,
2618 nodes_2: &str,
2619 nodes_3: &str,
2620 ) -> Result<(), JsValue>;
2621 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2622 #[doc = "The `append()` method."]
2623 #[doc = ""]
2624 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2625 #[doc = ""]
2626 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2627 pub fn append_with_str_4(
2628 this: &Document,
2629 nodes_1: &str,
2630 nodes_2: &str,
2631 nodes_3: &str,
2632 nodes_4: &str,
2633 ) -> Result<(), JsValue>;
2634 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2635 #[doc = "The `append()` method."]
2636 #[doc = ""]
2637 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2638 #[doc = ""]
2639 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2640 pub fn append_with_str_5(
2641 this: &Document,
2642 nodes_1: &str,
2643 nodes_2: &str,
2644 nodes_3: &str,
2645 nodes_4: &str,
2646 nodes_5: &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_6(
2655 this: &Document,
2656 nodes_1: &str,
2657 nodes_2: &str,
2658 nodes_3: &str,
2659 nodes_4: &str,
2660 nodes_5: &str,
2661 nodes_6: &str,
2662 ) -> Result<(), JsValue>;
2663 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = append)]
2664 #[doc = "The `append()` method."]
2665 #[doc = ""]
2666 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/append)"]
2667 #[doc = ""]
2668 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2669 pub fn append_with_str_7(
2670 this: &Document,
2671 nodes_1: &str,
2672 nodes_2: &str,
2673 nodes_3: &str,
2674 nodes_4: &str,
2675 nodes_5: &str,
2676 nodes_6: &str,
2677 nodes_7: &str,
2678 ) -> Result<(), JsValue>;
2679 # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = prepend)]
2680 #[doc = "The `prepend()` method."]
2681 #[doc = ""]
2682 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2683 #[doc = ""]
2684 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2685 pub fn prepend_with_node(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2686 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2687 #[doc = "The `prepend()` method."]
2688 #[doc = ""]
2689 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2690 #[doc = ""]
2691 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2692 pub fn prepend_with_node_0(this: &Document) -> Result<(), JsValue>;
2693 # [wasm_bindgen (catch , method , structural , 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_1(this: &Document, nodes_1: &Node) -> 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_2(
2707 this: &Document,
2708 nodes_1: &Node,
2709 nodes_2: &Node,
2710 ) -> Result<(), JsValue>;
2711 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2712 #[doc = "The `prepend()` method."]
2713 #[doc = ""]
2714 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2715 #[doc = ""]
2716 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2717 pub fn prepend_with_node_3(
2718 this: &Document,
2719 nodes_1: &Node,
2720 nodes_2: &Node,
2721 nodes_3: &Node,
2722 ) -> Result<(), JsValue>;
2723 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2724 #[doc = "The `prepend()` method."]
2725 #[doc = ""]
2726 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2727 #[doc = ""]
2728 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2729 pub fn prepend_with_node_4(
2730 this: &Document,
2731 nodes_1: &Node,
2732 nodes_2: &Node,
2733 nodes_3: &Node,
2734 nodes_4: &Node,
2735 ) -> Result<(), JsValue>;
2736 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2737 #[doc = "The `prepend()` method."]
2738 #[doc = ""]
2739 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2740 #[doc = ""]
2741 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2742 pub fn prepend_with_node_5(
2743 this: &Document,
2744 nodes_1: &Node,
2745 nodes_2: &Node,
2746 nodes_3: &Node,
2747 nodes_4: &Node,
2748 nodes_5: &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_6(
2757 this: &Document,
2758 nodes_1: &Node,
2759 nodes_2: &Node,
2760 nodes_3: &Node,
2761 nodes_4: &Node,
2762 nodes_5: &Node,
2763 nodes_6: &Node,
2764 ) -> Result<(), JsValue>;
2765 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2766 #[doc = "The `prepend()` method."]
2767 #[doc = ""]
2768 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2769 #[doc = ""]
2770 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2771 pub fn prepend_with_node_7(
2772 this: &Document,
2773 nodes_1: &Node,
2774 nodes_2: &Node,
2775 nodes_3: &Node,
2776 nodes_4: &Node,
2777 nodes_5: &Node,
2778 nodes_6: &Node,
2779 nodes_7: &Node,
2780 ) -> Result<(), JsValue>;
2781 # [wasm_bindgen (catch , method , structural , variadic , js_class = "Document" , js_name = prepend)]
2782 #[doc = "The `prepend()` method."]
2783 #[doc = ""]
2784 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2785 #[doc = ""]
2786 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2787 pub fn prepend_with_str(this: &Document, nodes: &::js_sys::Array) -> Result<(), JsValue>;
2788 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2789 #[doc = "The `prepend()` method."]
2790 #[doc = ""]
2791 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2792 #[doc = ""]
2793 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2794 pub fn prepend_with_str_0(this: &Document) -> Result<(), JsValue>;
2795 # [wasm_bindgen (catch , method , structural , 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_1(this: &Document, nodes_1: &str) -> 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_2(this: &Document, nodes_1: &str, nodes_2: &str)
2809 -> Result<(), JsValue>;
2810 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2811 #[doc = "The `prepend()` method."]
2812 #[doc = ""]
2813 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2814 #[doc = ""]
2815 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2816 pub fn prepend_with_str_3(
2817 this: &Document,
2818 nodes_1: &str,
2819 nodes_2: &str,
2820 nodes_3: &str,
2821 ) -> Result<(), JsValue>;
2822 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2823 #[doc = "The `prepend()` method."]
2824 #[doc = ""]
2825 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2826 #[doc = ""]
2827 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2828 pub fn prepend_with_str_4(
2829 this: &Document,
2830 nodes_1: &str,
2831 nodes_2: &str,
2832 nodes_3: &str,
2833 nodes_4: &str,
2834 ) -> Result<(), JsValue>;
2835 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2836 #[doc = "The `prepend()` method."]
2837 #[doc = ""]
2838 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2839 #[doc = ""]
2840 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2841 pub fn prepend_with_str_5(
2842 this: &Document,
2843 nodes_1: &str,
2844 nodes_2: &str,
2845 nodes_3: &str,
2846 nodes_4: &str,
2847 nodes_5: &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_6(
2856 this: &Document,
2857 nodes_1: &str,
2858 nodes_2: &str,
2859 nodes_3: &str,
2860 nodes_4: &str,
2861 nodes_5: &str,
2862 nodes_6: &str,
2863 ) -> Result<(), JsValue>;
2864 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = prepend)]
2865 #[doc = "The `prepend()` method."]
2866 #[doc = ""]
2867 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/prepend)"]
2868 #[doc = ""]
2869 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2870 pub fn prepend_with_str_7(
2871 this: &Document,
2872 nodes_1: &str,
2873 nodes_2: &str,
2874 nodes_3: &str,
2875 nodes_4: &str,
2876 nodes_5: &str,
2877 nodes_6: &str,
2878 nodes_7: &str,
2879 ) -> Result<(), JsValue>;
2880 # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)]
2881 #[doc = "The `replaceChildren()` method."]
2882 #[doc = ""]
2883 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2884 #[doc = ""]
2885 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2886 pub fn replace_children_with_node(this: &Document, nodes: &::js_sys::Array);
2887 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2888 #[doc = "The `replaceChildren()` method."]
2889 #[doc = ""]
2890 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2891 #[doc = ""]
2892 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2893 pub fn replace_children_with_node_0(this: &Document);
2894 # [wasm_bindgen (method , structural , 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_1(this: &Document, nodes_1: &Node);
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_2(this: &Document, nodes_1: &Node, nodes_2: &Node);
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_3(
2915 this: &Document,
2916 nodes_1: &Node,
2917 nodes_2: &Node,
2918 nodes_3: &Node,
2919 );
2920 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2921 #[doc = "The `replaceChildren()` method."]
2922 #[doc = ""]
2923 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2924 #[doc = ""]
2925 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2926 pub fn replace_children_with_node_4(
2927 this: &Document,
2928 nodes_1: &Node,
2929 nodes_2: &Node,
2930 nodes_3: &Node,
2931 nodes_4: &Node,
2932 );
2933 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2934 #[doc = "The `replaceChildren()` method."]
2935 #[doc = ""]
2936 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2937 #[doc = ""]
2938 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2939 pub fn replace_children_with_node_5(
2940 this: &Document,
2941 nodes_1: &Node,
2942 nodes_2: &Node,
2943 nodes_3: &Node,
2944 nodes_4: &Node,
2945 nodes_5: &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_6(
2954 this: &Document,
2955 nodes_1: &Node,
2956 nodes_2: &Node,
2957 nodes_3: &Node,
2958 nodes_4: &Node,
2959 nodes_5: &Node,
2960 nodes_6: &Node,
2961 );
2962 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2963 #[doc = "The `replaceChildren()` method."]
2964 #[doc = ""]
2965 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2966 #[doc = ""]
2967 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2968 pub fn replace_children_with_node_7(
2969 this: &Document,
2970 nodes_1: &Node,
2971 nodes_2: &Node,
2972 nodes_3: &Node,
2973 nodes_4: &Node,
2974 nodes_5: &Node,
2975 nodes_6: &Node,
2976 nodes_7: &Node,
2977 );
2978 # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)]
2979 #[doc = "The `replaceChildren()` method."]
2980 #[doc = ""]
2981 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2982 #[doc = ""]
2983 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2984 pub fn replace_children_with_str(this: &Document, nodes: &::js_sys::Array);
2985 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
2986 #[doc = "The `replaceChildren()` method."]
2987 #[doc = ""]
2988 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
2989 #[doc = ""]
2990 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
2991 pub fn replace_children_with_str_0(this: &Document);
2992 # [wasm_bindgen (method , structural , 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_1(this: &Document, nodes_1: &str);
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_2(this: &Document, nodes_1: &str, nodes_2: &str);
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_3(
3013 this: &Document,
3014 nodes_1: &str,
3015 nodes_2: &str,
3016 nodes_3: &str,
3017 );
3018 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3019 #[doc = "The `replaceChildren()` method."]
3020 #[doc = ""]
3021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3022 #[doc = ""]
3023 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3024 pub fn replace_children_with_str_4(
3025 this: &Document,
3026 nodes_1: &str,
3027 nodes_2: &str,
3028 nodes_3: &str,
3029 nodes_4: &str,
3030 );
3031 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3032 #[doc = "The `replaceChildren()` method."]
3033 #[doc = ""]
3034 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3035 #[doc = ""]
3036 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3037 pub fn replace_children_with_str_5(
3038 this: &Document,
3039 nodes_1: &str,
3040 nodes_2: &str,
3041 nodes_3: &str,
3042 nodes_4: &str,
3043 nodes_5: &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_6(
3052 this: &Document,
3053 nodes_1: &str,
3054 nodes_2: &str,
3055 nodes_3: &str,
3056 nodes_4: &str,
3057 nodes_5: &str,
3058 nodes_6: &str,
3059 );
3060 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
3061 #[doc = "The `replaceChildren()` method."]
3062 #[doc = ""]
3063 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
3064 #[doc = ""]
3065 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3066 pub fn replace_children_with_str_7(
3067 this: &Document,
3068 nodes_1: &str,
3069 nodes_2: &str,
3070 nodes_3: &str,
3071 nodes_4: &str,
3072 nodes_5: &str,
3073 nodes_6: &str,
3074 nodes_7: &str,
3075 );
3076 #[cfg(feature = "XPathExpression")]
3077 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
3078 #[doc = "The `createExpression()` method."]
3079 #[doc = ""]
3080 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
3081 #[doc = ""]
3082 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`*"]
3083 pub fn create_expression(this: &Document, expression: &str)
3084 -> Result<XPathExpression, JsValue>;
3085 #[cfg(feature = "XPathExpression")]
3086 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
3087 #[doc = "The `createExpression()` method."]
3088 #[doc = ""]
3089 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
3090 #[doc = ""]
3091 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`*"]
3092 pub fn create_expression_with_opt_callback(
3093 this: &Document,
3094 expression: &str,
3095 resolver: Option<&::js_sys::Function>,
3096 ) -> Result<XPathExpression, JsValue>;
3097 #[cfg(all(feature = "XPathExpression", feature = "XPathNsResolver",))]
3098 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
3099 #[doc = "The `createExpression()` method."]
3100 #[doc = ""]
3101 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createExpression)"]
3102 #[doc = ""]
3103 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathExpression`, `XPathNsResolver`*"]
3104 pub fn create_expression_with_opt_x_path_ns_resolver(
3105 this: &Document,
3106 expression: &str,
3107 resolver: Option<&XPathNsResolver>,
3108 ) -> Result<XPathExpression, JsValue>;
3109 # [wasm_bindgen (method , structural , js_class = "Document" , js_name = createNSResolver)]
3110 #[doc = "The `createNSResolver()` method."]
3111 #[doc = ""]
3112 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/createNSResolver)"]
3113 #[doc = ""]
3114 #[doc = "*This API requires the following crate features to be activated: `Document`*"]
3115 pub fn create_ns_resolver(this: &Document, node_resolver: &Node) -> Node;
3116 #[cfg(feature = "XPathResult")]
3117 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3118 #[doc = "The `evaluate()` method."]
3119 #[doc = ""]
3120 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3121 #[doc = ""]
3122 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3123 pub fn evaluate(
3124 this: &Document,
3125 expression: &str,
3126 context_node: &Node,
3127 ) -> Result<XPathResult, JsValue>;
3128 #[cfg(feature = "XPathResult")]
3129 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3130 #[doc = "The `evaluate()` method."]
3131 #[doc = ""]
3132 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3133 #[doc = ""]
3134 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3135 pub fn evaluate_with_opt_callback(
3136 this: &Document,
3137 expression: &str,
3138 context_node: &Node,
3139 resolver: Option<&::js_sys::Function>,
3140 ) -> Result<XPathResult, JsValue>;
3141 #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
3142 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3143 #[doc = "The `evaluate()` method."]
3144 #[doc = ""]
3145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3146 #[doc = ""]
3147 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
3148 pub fn evaluate_with_opt_x_path_ns_resolver(
3149 this: &Document,
3150 expression: &str,
3151 context_node: &Node,
3152 resolver: Option<&XPathNsResolver>,
3153 ) -> Result<XPathResult, JsValue>;
3154 #[cfg(feature = "XPathResult")]
3155 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3156 #[doc = "The `evaluate()` method."]
3157 #[doc = ""]
3158 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3159 #[doc = ""]
3160 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathResult`*"]
3161 pub fn evaluate_with_opt_callback_and_type(
3162 this: &Document,
3163 expression: &str,
3164 context_node: &Node,
3165 resolver: Option<&::js_sys::Function>,
3166 type_: u16,
3167 ) -> Result<XPathResult, JsValue>;
3168 #[cfg(all(feature = "XPathNsResolver", 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`, `XPathNsResolver`, `XPathResult`*"]
3175 pub fn evaluate_with_opt_x_path_ns_resolver_and_type(
3176 this: &Document,
3177 expression: &str,
3178 context_node: &Node,
3179 resolver: Option<&XPathNsResolver>,
3180 type_: u16,
3181 ) -> Result<XPathResult, JsValue>;
3182 #[cfg(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`, `XPathResult`*"]
3189 pub fn evaluate_with_opt_callback_and_type_and_result(
3190 this: &Document,
3191 expression: &str,
3192 context_node: &Node,
3193 resolver: Option<&::js_sys::Function>,
3194 type_: u16,
3195 result: Option<&::js_sys::Object>,
3196 ) -> Result<XPathResult, JsValue>;
3197 #[cfg(all(feature = "XPathNsResolver", feature = "XPathResult",))]
3198 # [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = evaluate)]
3199 #[doc = "The `evaluate()` method."]
3200 #[doc = ""]
3201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate)"]
3202 #[doc = ""]
3203 #[doc = "*This API requires the following crate features to be activated: `Document`, `XPathNsResolver`, `XPathResult`*"]
3204 pub fn evaluate_with_opt_x_path_ns_resolver_and_type_and_result(
3205 this: &Document,
3206 expression: &str,
3207 context_node: &Node,
3208 resolver: Option<&XPathNsResolver>,
3209 type_: u16,
3210 result: Option<&::js_sys::Object>,
3211 ) -> Result<XPathResult, JsValue>;
3212}
3213