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