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