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