Skip to main content

web_sys/features/
gen_Window.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "EventTarget",
9        extends = "::js_sys::Object",
10        js_name = "Window",
11        typescript_type = "Window"
12    )]
13    #[derive(Debug, Clone, PartialEq, Eq)]
14    #[doc = "The `Window` class."]
15    #[doc = ""]
16    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window)"]
17    #[doc = ""]
18    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
19    pub type Window;
20    #[cfg(feature = "CookieStore")]
21    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "cookieStore")]
22    #[doc = "Getter for the `cookieStore` field of this object."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cookieStore)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `CookieStore`, `Window`*"]
27    pub fn cookie_store(this: &Window) -> CookieStore;
28    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "window")]
29    #[doc = "Getter for the `window` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/window)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
34    pub fn window(this: &Window) -> Window;
35    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "self")]
36    #[doc = "Getter for the `self` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/self)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
41    pub fn self_(this: &Window) -> Window;
42    #[cfg(feature = "Document")]
43    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "document")]
44    #[doc = "Getter for the `document` field of this object."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/document)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `Document`, `Window`*"]
49    pub fn document(this: &Window) -> Option<Document>;
50    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "name")]
51    #[doc = "Getter for the `name` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
56    pub fn name(this: &Window) -> Result<::alloc::string::String, JsValue>;
57    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "name")]
58    #[doc = "Setter for the `name` field of this object."]
59    #[doc = ""]
60    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)"]
61    #[doc = ""]
62    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
63    pub fn set_name(this: &Window, value: &str) -> Result<(), JsValue>;
64    #[cfg(feature = "Location")]
65    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "location")]
66    #[doc = "Getter for the `location` field of this object."]
67    #[doc = ""]
68    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)"]
69    #[doc = ""]
70    #[doc = "*This API requires the following crate features to be activated: `Location`, `Window`*"]
71    pub fn location(this: &Window) -> Location;
72    #[cfg(feature = "History")]
73    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "history")]
74    #[doc = "Getter for the `history` field of this object."]
75    #[doc = ""]
76    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/history)"]
77    #[doc = ""]
78    #[doc = "*This API requires the following crate features to be activated: `History`, `Window`*"]
79    pub fn history(this: &Window) -> Result<History, JsValue>;
80    #[cfg(feature = "Navigation")]
81    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "navigation")]
82    #[doc = "Getter for the `navigation` field of this object."]
83    #[doc = ""]
84    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/navigation)"]
85    #[doc = ""]
86    #[doc = "*This API requires the following crate features to be activated: `Navigation`, `Window`*"]
87    pub fn navigation(this: &Window) -> Navigation;
88    #[cfg(feature = "CustomElementRegistry")]
89    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "customElements")]
90    #[doc = "Getter for the `customElements` field of this object."]
91    #[doc = ""]
92    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements)"]
93    #[doc = ""]
94    #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`, `Window`*"]
95    pub fn custom_elements(this: &Window) -> CustomElementRegistry;
96    #[cfg(feature = "BarProp")]
97    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "locationbar")]
98    #[doc = "Getter for the `locationbar` field of this object."]
99    #[doc = ""]
100    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar)"]
101    #[doc = ""]
102    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
103    pub fn locationbar(this: &Window) -> Result<BarProp, JsValue>;
104    #[cfg(feature = "BarProp")]
105    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "menubar")]
106    #[doc = "Getter for the `menubar` field of this object."]
107    #[doc = ""]
108    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar)"]
109    #[doc = ""]
110    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
111    pub fn menubar(this: &Window) -> Result<BarProp, JsValue>;
112    #[cfg(feature = "BarProp")]
113    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "personalbar")]
114    #[doc = "Getter for the `personalbar` field of this object."]
115    #[doc = ""]
116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar)"]
117    #[doc = ""]
118    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
119    pub fn personalbar(this: &Window) -> Result<BarProp, JsValue>;
120    #[cfg(feature = "BarProp")]
121    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "scrollbars")]
122    #[doc = "Getter for the `scrollbars` field of this object."]
123    #[doc = ""]
124    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars)"]
125    #[doc = ""]
126    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
127    pub fn scrollbars(this: &Window) -> Result<BarProp, JsValue>;
128    #[cfg(feature = "BarProp")]
129    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "statusbar")]
130    #[doc = "Getter for the `statusbar` field of this object."]
131    #[doc = ""]
132    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar)"]
133    #[doc = ""]
134    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
135    pub fn statusbar(this: &Window) -> Result<BarProp, JsValue>;
136    #[cfg(feature = "BarProp")]
137    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "toolbar")]
138    #[doc = "Getter for the `toolbar` field of this object."]
139    #[doc = ""]
140    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar)"]
141    #[doc = ""]
142    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
143    pub fn toolbar(this: &Window) -> Result<BarProp, JsValue>;
144    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "status")]
145    #[doc = "Getter for the `status` field of this object."]
146    #[doc = ""]
147    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)"]
148    #[doc = ""]
149    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
150    pub fn status(this: &Window) -> Result<::alloc::string::String, JsValue>;
151    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "status")]
152    #[doc = "Setter for the `status` field of this object."]
153    #[doc = ""]
154    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)"]
155    #[doc = ""]
156    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
157    pub fn set_status(this: &Window, value: &str) -> Result<(), JsValue>;
158    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "closed")]
159    #[doc = "Getter for the `closed` field of this object."]
160    #[doc = ""]
161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/closed)"]
162    #[doc = ""]
163    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
164    pub fn closed(this: &Window) -> Result<bool, JsValue>;
165    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "event")]
166    #[doc = "Getter for the `event` field of this object."]
167    #[doc = ""]
168    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)"]
169    #[doc = ""]
170    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
171    pub fn event(this: &Window) -> ::wasm_bindgen::JsValue;
172    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "frames")]
173    #[doc = "Getter for the `frames` field of this object."]
174    #[doc = ""]
175    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frames)"]
176    #[doc = ""]
177    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
178    pub fn frames(this: &Window) -> Result<Window, JsValue>;
179    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "length")]
180    #[doc = "Getter for the `length` field of this object."]
181    #[doc = ""]
182    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/length)"]
183    #[doc = ""]
184    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
185    pub fn length(this: &Window) -> u32;
186    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "top")]
187    #[doc = "Getter for the `top` field of this object."]
188    #[doc = ""]
189    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/top)"]
190    #[doc = ""]
191    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
192    pub fn top(this: &Window) -> Result<Option<Window>, JsValue>;
193    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "opener")]
194    #[doc = "Getter for the `opener` field of this object."]
195    #[doc = ""]
196    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)"]
197    #[doc = ""]
198    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
199    pub fn opener(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
200    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "opener")]
201    #[doc = "Setter for the `opener` field of this object."]
202    #[doc = ""]
203    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)"]
204    #[doc = ""]
205    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
206    pub fn set_opener(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
207    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "parent")]
208    #[doc = "Getter for the `parent` field of this object."]
209    #[doc = ""]
210    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/parent)"]
211    #[doc = ""]
212    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
213    pub fn parent(this: &Window) -> Result<Option<Window>, JsValue>;
214    #[cfg(feature = "Element")]
215    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "frameElement")]
216    #[doc = "Getter for the `frameElement` field of this object."]
217    #[doc = ""]
218    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement)"]
219    #[doc = ""]
220    #[doc = "*This API requires the following crate features to be activated: `Element`, `Window`*"]
221    pub fn frame_element(this: &Window) -> Result<Option<Element>, JsValue>;
222    #[cfg(feature = "Navigator")]
223    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "navigator")]
224    #[doc = "Getter for the `navigator` field of this object."]
225    #[doc = ""]
226    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator)"]
227    #[doc = ""]
228    #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Window`*"]
229    pub fn navigator(this: &Window) -> Navigator;
230    #[cfg(feature = "External")]
231    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "external")]
232    #[doc = "Getter for the `external` field of this object."]
233    #[doc = ""]
234    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/external)"]
235    #[doc = ""]
236    #[doc = "*This API requires the following crate features to be activated: `External`, `Window`*"]
237    pub fn external(this: &Window) -> Result<External, JsValue>;
238    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onappinstalled")]
239    #[doc = "Getter for the `onappinstalled` field of this object."]
240    #[doc = ""]
241    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)"]
242    #[doc = ""]
243    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
244    pub fn onappinstalled(this: &Window) -> Option<::js_sys::Function>;
245    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onappinstalled")]
246    #[doc = "Setter for the `onappinstalled` field of this object."]
247    #[doc = ""]
248    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)"]
249    #[doc = ""]
250    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
251    pub fn set_onappinstalled(this: &Window, value: Option<&::js_sys::Function>);
252    #[cfg(feature = "Screen")]
253    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "screen")]
254    #[doc = "Getter for the `screen` field of this object."]
255    #[doc = ""]
256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screen)"]
257    #[doc = ""]
258    #[doc = "*This API requires the following crate features to be activated: `Screen`, `Window`*"]
259    pub fn screen(this: &Window) -> Result<Screen, JsValue>;
260    #[cfg(feature = "VisualViewport")]
261    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "visualViewport")]
262    #[doc = "Getter for the `visualViewport` field of this object."]
263    #[doc = ""]
264    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/visualViewport)"]
265    #[doc = ""]
266    #[doc = "*This API requires the following crate features to be activated: `VisualViewport`, `Window`*"]
267    pub fn visual_viewport(this: &Window) -> Option<VisualViewport>;
268    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "innerWidth")]
269    #[doc = "Getter for the `innerWidth` field of this object."]
270    #[doc = ""]
271    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)"]
272    #[doc = ""]
273    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
274    pub fn inner_width(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
275    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "innerWidth")]
276    #[doc = "Setter for the `innerWidth` field of this object."]
277    #[doc = ""]
278    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)"]
279    #[doc = ""]
280    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
281    pub fn set_inner_width(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
282    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "innerHeight")]
283    #[doc = "Getter for the `innerHeight` field of this object."]
284    #[doc = ""]
285    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)"]
286    #[doc = ""]
287    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
288    pub fn inner_height(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
289    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "innerHeight")]
290    #[doc = "Setter for the `innerHeight` field of this object."]
291    #[doc = ""]
292    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)"]
293    #[doc = ""]
294    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
295    pub fn set_inner_height(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
296    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "scrollX")]
297    #[doc = "Getter for the `scrollX` field of this object."]
298    #[doc = ""]
299    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX)"]
300    #[doc = ""]
301    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
302    pub fn scroll_x(this: &Window) -> Result<f64, JsValue>;
303    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "pageXOffset")]
304    #[doc = "Getter for the `pageXOffset` field of this object."]
305    #[doc = ""]
306    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset)"]
307    #[doc = ""]
308    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
309    pub fn page_x_offset(this: &Window) -> Result<f64, JsValue>;
310    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "scrollY")]
311    #[doc = "Getter for the `scrollY` field of this object."]
312    #[doc = ""]
313    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY)"]
314    #[doc = ""]
315    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
316    pub fn scroll_y(this: &Window) -> Result<f64, JsValue>;
317    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "pageYOffset")]
318    #[doc = "Getter for the `pageYOffset` field of this object."]
319    #[doc = ""]
320    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset)"]
321    #[doc = ""]
322    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
323    pub fn page_y_offset(this: &Window) -> Result<f64, JsValue>;
324    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "screenX")]
325    #[doc = "Getter for the `screenX` field of this object."]
326    #[doc = ""]
327    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)"]
328    #[doc = ""]
329    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
330    pub fn screen_x(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
331    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "screenX")]
332    #[doc = "Setter for the `screenX` field of this object."]
333    #[doc = ""]
334    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)"]
335    #[doc = ""]
336    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
337    pub fn set_screen_x(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
338    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "screenY")]
339    #[doc = "Getter for the `screenY` field of this object."]
340    #[doc = ""]
341    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)"]
342    #[doc = ""]
343    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
344    pub fn screen_y(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
345    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "screenY")]
346    #[doc = "Setter for the `screenY` field of this object."]
347    #[doc = ""]
348    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)"]
349    #[doc = ""]
350    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
351    pub fn set_screen_y(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
352    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "outerWidth")]
353    #[doc = "Getter for the `outerWidth` field of this object."]
354    #[doc = ""]
355    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)"]
356    #[doc = ""]
357    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
358    pub fn outer_width(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
359    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "outerWidth")]
360    #[doc = "Setter for the `outerWidth` field of this object."]
361    #[doc = ""]
362    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)"]
363    #[doc = ""]
364    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
365    pub fn set_outer_width(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
366    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "outerHeight")]
367    #[doc = "Getter for the `outerHeight` field of this object."]
368    #[doc = ""]
369    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)"]
370    #[doc = ""]
371    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
372    pub fn outer_height(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
373    #[wasm_bindgen(catch, method, setter, js_class = "Window", js_name = "outerHeight")]
374    #[doc = "Setter for the `outerHeight` field of this object."]
375    #[doc = ""]
376    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)"]
377    #[doc = ""]
378    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
379    pub fn set_outer_height(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
380    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "devicePixelRatio")]
381    #[doc = "Getter for the `devicePixelRatio` field of this object."]
382    #[doc = ""]
383    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio)"]
384    #[doc = ""]
385    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
386    pub fn device_pixel_ratio(this: &Window) -> f64;
387    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "orientation")]
388    #[doc = "Getter for the `orientation` field of this object."]
389    #[doc = ""]
390    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation)"]
391    #[doc = ""]
392    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
393    pub fn orientation(this: &Window) -> i16;
394    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onorientationchange")]
395    #[doc = "Getter for the `onorientationchange` field of this object."]
396    #[doc = ""]
397    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)"]
398    #[doc = ""]
399    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
400    pub fn onorientationchange(this: &Window) -> Option<::js_sys::Function>;
401    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onorientationchange")]
402    #[doc = "Setter for the `onorientationchange` field of this object."]
403    #[doc = ""]
404    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)"]
405    #[doc = ""]
406    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
407    pub fn set_onorientationchange(this: &Window, value: Option<&::js_sys::Function>);
408    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onvrdisplayconnect")]
409    #[doc = "Getter for the `onvrdisplayconnect` field of this object."]
410    #[doc = ""]
411    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)"]
412    #[doc = ""]
413    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
414    pub fn onvrdisplayconnect(this: &Window) -> Option<::js_sys::Function>;
415    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onvrdisplayconnect")]
416    #[doc = "Setter for the `onvrdisplayconnect` field of this object."]
417    #[doc = ""]
418    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)"]
419    #[doc = ""]
420    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
421    pub fn set_onvrdisplayconnect(this: &Window, value: Option<&::js_sys::Function>);
422    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onvrdisplaydisconnect")]
423    #[doc = "Getter for the `onvrdisplaydisconnect` field of this object."]
424    #[doc = ""]
425    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)"]
426    #[doc = ""]
427    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
428    pub fn onvrdisplaydisconnect(this: &Window) -> Option<::js_sys::Function>;
429    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onvrdisplaydisconnect")]
430    #[doc = "Setter for the `onvrdisplaydisconnect` field of this object."]
431    #[doc = ""]
432    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)"]
433    #[doc = ""]
434    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
435    pub fn set_onvrdisplaydisconnect(this: &Window, value: Option<&::js_sys::Function>);
436    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onvrdisplayactivate")]
437    #[doc = "Getter for the `onvrdisplayactivate` field of this object."]
438    #[doc = ""]
439    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)"]
440    #[doc = ""]
441    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
442    pub fn onvrdisplayactivate(this: &Window) -> Option<::js_sys::Function>;
443    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onvrdisplayactivate")]
444    #[doc = "Setter for the `onvrdisplayactivate` field of this object."]
445    #[doc = ""]
446    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)"]
447    #[doc = ""]
448    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
449    pub fn set_onvrdisplayactivate(this: &Window, value: Option<&::js_sys::Function>);
450    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onvrdisplaydeactivate")]
451    #[doc = "Getter for the `onvrdisplaydeactivate` field of this object."]
452    #[doc = ""]
453    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)"]
454    #[doc = ""]
455    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
456    pub fn onvrdisplaydeactivate(this: &Window) -> Option<::js_sys::Function>;
457    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onvrdisplaydeactivate")]
458    #[doc = "Setter for the `onvrdisplaydeactivate` field of this object."]
459    #[doc = ""]
460    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)"]
461    #[doc = ""]
462    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
463    pub fn set_onvrdisplaydeactivate(this: &Window, value: Option<&::js_sys::Function>);
464    #[wasm_bindgen(
465        method,
466        getter,
467        js_class = "Window",
468        js_name = "onvrdisplaypresentchange"
469    )]
470    #[doc = "Getter for the `onvrdisplaypresentchange` field of this object."]
471    #[doc = ""]
472    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)"]
473    #[doc = ""]
474    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
475    pub fn onvrdisplaypresentchange(this: &Window) -> Option<::js_sys::Function>;
476    #[wasm_bindgen(
477        method,
478        setter,
479        js_class = "Window",
480        js_name = "onvrdisplaypresentchange"
481    )]
482    #[doc = "Setter for the `onvrdisplaypresentchange` field of this object."]
483    #[doc = ""]
484    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)"]
485    #[doc = ""]
486    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
487    pub fn set_onvrdisplaypresentchange(this: &Window, value: Option<&::js_sys::Function>);
488    #[cfg(feature = "Worklet")]
489    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "paintWorklet")]
490    #[doc = "Getter for the `paintWorklet` field of this object."]
491    #[doc = ""]
492    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/paintWorklet)"]
493    #[doc = ""]
494    #[doc = "*This API requires the following crate features to be activated: `Window`, `Worklet`*"]
495    pub fn paint_worklet(this: &Window) -> Result<Worklet, JsValue>;
496    #[cfg(feature = "Crypto")]
497    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "crypto")]
498    #[doc = "Getter for the `crypto` field of this object."]
499    #[doc = ""]
500    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto)"]
501    #[doc = ""]
502    #[doc = "*This API requires the following crate features to be activated: `Crypto`, `Window`*"]
503    pub fn crypto(this: &Window) -> Result<Crypto, JsValue>;
504    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onabort")]
505    #[doc = "Getter for the `onabort` field of this object."]
506    #[doc = ""]
507    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)"]
508    #[doc = ""]
509    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
510    pub fn onabort(this: &Window) -> Option<::js_sys::Function>;
511    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onabort")]
512    #[doc = "Setter for the `onabort` field of this object."]
513    #[doc = ""]
514    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)"]
515    #[doc = ""]
516    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
517    pub fn set_onabort(this: &Window, value: Option<&::js_sys::Function>);
518    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onblur")]
519    #[doc = "Getter for the `onblur` field of this object."]
520    #[doc = ""]
521    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)"]
522    #[doc = ""]
523    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
524    pub fn onblur(this: &Window) -> Option<::js_sys::Function>;
525    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onblur")]
526    #[doc = "Setter for the `onblur` field of this object."]
527    #[doc = ""]
528    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)"]
529    #[doc = ""]
530    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
531    pub fn set_onblur(this: &Window, value: Option<&::js_sys::Function>);
532    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onfocus")]
533    #[doc = "Getter for the `onfocus` field of this object."]
534    #[doc = ""]
535    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)"]
536    #[doc = ""]
537    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
538    pub fn onfocus(this: &Window) -> Option<::js_sys::Function>;
539    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onfocus")]
540    #[doc = "Setter for the `onfocus` field of this object."]
541    #[doc = ""]
542    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)"]
543    #[doc = ""]
544    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
545    pub fn set_onfocus(this: &Window, value: Option<&::js_sys::Function>);
546    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "oncancel")]
547    #[doc = "Getter for the `oncancel` field of this object."]
548    #[doc = ""]
549    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncancel)"]
550    #[doc = ""]
551    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
552    pub fn oncancel(this: &Window) -> Option<::js_sys::Function>;
553    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "oncancel")]
554    #[doc = "Setter for the `oncancel` field of this object."]
555    #[doc = ""]
556    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncancel)"]
557    #[doc = ""]
558    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
559    pub fn set_oncancel(this: &Window, value: Option<&::js_sys::Function>);
560    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onauxclick")]
561    #[doc = "Getter for the `onauxclick` field of this object."]
562    #[doc = ""]
563    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)"]
564    #[doc = ""]
565    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
566    pub fn onauxclick(this: &Window) -> Option<::js_sys::Function>;
567    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onauxclick")]
568    #[doc = "Setter for the `onauxclick` field of this object."]
569    #[doc = ""]
570    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)"]
571    #[doc = ""]
572    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
573    pub fn set_onauxclick(this: &Window, value: Option<&::js_sys::Function>);
574    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onbeforetoggle")]
575    #[doc = "Getter for the `onbeforetoggle` field of this object."]
576    #[doc = ""]
577    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforetoggle)"]
578    #[doc = ""]
579    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
580    pub fn onbeforetoggle(this: &Window) -> Option<::js_sys::Function>;
581    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onbeforetoggle")]
582    #[doc = "Setter for the `onbeforetoggle` field of this object."]
583    #[doc = ""]
584    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforetoggle)"]
585    #[doc = ""]
586    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
587    pub fn set_onbeforetoggle(this: &Window, value: Option<&::js_sys::Function>);
588    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "oncanplay")]
589    #[doc = "Getter for the `oncanplay` field of this object."]
590    #[doc = ""]
591    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)"]
592    #[doc = ""]
593    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
594    pub fn oncanplay(this: &Window) -> Option<::js_sys::Function>;
595    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "oncanplay")]
596    #[doc = "Setter for the `oncanplay` field of this object."]
597    #[doc = ""]
598    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)"]
599    #[doc = ""]
600    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
601    pub fn set_oncanplay(this: &Window, value: Option<&::js_sys::Function>);
602    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "oncanplaythrough")]
603    #[doc = "Getter for the `oncanplaythrough` field of this object."]
604    #[doc = ""]
605    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)"]
606    #[doc = ""]
607    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
608    pub fn oncanplaythrough(this: &Window) -> Option<::js_sys::Function>;
609    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "oncanplaythrough")]
610    #[doc = "Setter for the `oncanplaythrough` field of this object."]
611    #[doc = ""]
612    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)"]
613    #[doc = ""]
614    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
615    pub fn set_oncanplaythrough(this: &Window, value: Option<&::js_sys::Function>);
616    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onchange")]
617    #[doc = "Getter for the `onchange` field of this object."]
618    #[doc = ""]
619    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)"]
620    #[doc = ""]
621    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
622    pub fn onchange(this: &Window) -> Option<::js_sys::Function>;
623    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onchange")]
624    #[doc = "Setter for the `onchange` field of this object."]
625    #[doc = ""]
626    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)"]
627    #[doc = ""]
628    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
629    pub fn set_onchange(this: &Window, value: Option<&::js_sys::Function>);
630    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onclick")]
631    #[doc = "Getter for the `onclick` field of this object."]
632    #[doc = ""]
633    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)"]
634    #[doc = ""]
635    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
636    pub fn onclick(this: &Window) -> Option<::js_sys::Function>;
637    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onclick")]
638    #[doc = "Setter for the `onclick` field of this object."]
639    #[doc = ""]
640    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)"]
641    #[doc = ""]
642    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
643    pub fn set_onclick(this: &Window, value: Option<&::js_sys::Function>);
644    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onclose")]
645    #[doc = "Getter for the `onclose` field of this object."]
646    #[doc = ""]
647    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)"]
648    #[doc = ""]
649    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
650    pub fn onclose(this: &Window) -> Option<::js_sys::Function>;
651    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onclose")]
652    #[doc = "Setter for the `onclose` field of this object."]
653    #[doc = ""]
654    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)"]
655    #[doc = ""]
656    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
657    pub fn set_onclose(this: &Window, value: Option<&::js_sys::Function>);
658    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "oncontextmenu")]
659    #[doc = "Getter for the `oncontextmenu` field of this object."]
660    #[doc = ""]
661    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)"]
662    #[doc = ""]
663    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
664    pub fn oncontextmenu(this: &Window) -> Option<::js_sys::Function>;
665    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "oncontextmenu")]
666    #[doc = "Setter for the `oncontextmenu` field of this object."]
667    #[doc = ""]
668    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)"]
669    #[doc = ""]
670    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
671    pub fn set_oncontextmenu(this: &Window, value: Option<&::js_sys::Function>);
672    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondblclick")]
673    #[doc = "Getter for the `ondblclick` field of this object."]
674    #[doc = ""]
675    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)"]
676    #[doc = ""]
677    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
678    pub fn ondblclick(this: &Window) -> Option<::js_sys::Function>;
679    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondblclick")]
680    #[doc = "Setter for the `ondblclick` field of this object."]
681    #[doc = ""]
682    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)"]
683    #[doc = ""]
684    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
685    pub fn set_ondblclick(this: &Window, value: Option<&::js_sys::Function>);
686    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondrag")]
687    #[doc = "Getter for the `ondrag` field of this object."]
688    #[doc = ""]
689    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)"]
690    #[doc = ""]
691    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
692    pub fn ondrag(this: &Window) -> Option<::js_sys::Function>;
693    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondrag")]
694    #[doc = "Setter for the `ondrag` field of this object."]
695    #[doc = ""]
696    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)"]
697    #[doc = ""]
698    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
699    pub fn set_ondrag(this: &Window, value: Option<&::js_sys::Function>);
700    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondragend")]
701    #[doc = "Getter for the `ondragend` field of this object."]
702    #[doc = ""]
703    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)"]
704    #[doc = ""]
705    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
706    pub fn ondragend(this: &Window) -> Option<::js_sys::Function>;
707    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondragend")]
708    #[doc = "Setter for the `ondragend` field of this object."]
709    #[doc = ""]
710    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)"]
711    #[doc = ""]
712    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
713    pub fn set_ondragend(this: &Window, value: Option<&::js_sys::Function>);
714    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondragenter")]
715    #[doc = "Getter for the `ondragenter` field of this object."]
716    #[doc = ""]
717    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)"]
718    #[doc = ""]
719    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
720    pub fn ondragenter(this: &Window) -> Option<::js_sys::Function>;
721    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondragenter")]
722    #[doc = "Setter for the `ondragenter` field of this object."]
723    #[doc = ""]
724    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)"]
725    #[doc = ""]
726    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
727    pub fn set_ondragenter(this: &Window, value: Option<&::js_sys::Function>);
728    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondragexit")]
729    #[doc = "Getter for the `ondragexit` field of this object."]
730    #[doc = ""]
731    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)"]
732    #[doc = ""]
733    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
734    pub fn ondragexit(this: &Window) -> Option<::js_sys::Function>;
735    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondragexit")]
736    #[doc = "Setter for the `ondragexit` field of this object."]
737    #[doc = ""]
738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)"]
739    #[doc = ""]
740    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
741    pub fn set_ondragexit(this: &Window, value: Option<&::js_sys::Function>);
742    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondragleave")]
743    #[doc = "Getter for the `ondragleave` field of this object."]
744    #[doc = ""]
745    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)"]
746    #[doc = ""]
747    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
748    pub fn ondragleave(this: &Window) -> Option<::js_sys::Function>;
749    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondragleave")]
750    #[doc = "Setter for the `ondragleave` field of this object."]
751    #[doc = ""]
752    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)"]
753    #[doc = ""]
754    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
755    pub fn set_ondragleave(this: &Window, value: Option<&::js_sys::Function>);
756    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondragover")]
757    #[doc = "Getter for the `ondragover` field of this object."]
758    #[doc = ""]
759    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)"]
760    #[doc = ""]
761    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
762    pub fn ondragover(this: &Window) -> Option<::js_sys::Function>;
763    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondragover")]
764    #[doc = "Setter for the `ondragover` field of this object."]
765    #[doc = ""]
766    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)"]
767    #[doc = ""]
768    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
769    pub fn set_ondragover(this: &Window, value: Option<&::js_sys::Function>);
770    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondragstart")]
771    #[doc = "Getter for the `ondragstart` field of this object."]
772    #[doc = ""]
773    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)"]
774    #[doc = ""]
775    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
776    pub fn ondragstart(this: &Window) -> Option<::js_sys::Function>;
777    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondragstart")]
778    #[doc = "Setter for the `ondragstart` field of this object."]
779    #[doc = ""]
780    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)"]
781    #[doc = ""]
782    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
783    pub fn set_ondragstart(this: &Window, value: Option<&::js_sys::Function>);
784    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondrop")]
785    #[doc = "Getter for the `ondrop` field of this object."]
786    #[doc = ""]
787    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)"]
788    #[doc = ""]
789    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
790    pub fn ondrop(this: &Window) -> Option<::js_sys::Function>;
791    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondrop")]
792    #[doc = "Setter for the `ondrop` field of this object."]
793    #[doc = ""]
794    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)"]
795    #[doc = ""]
796    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
797    pub fn set_ondrop(this: &Window, value: Option<&::js_sys::Function>);
798    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ondurationchange")]
799    #[doc = "Getter for the `ondurationchange` field of this object."]
800    #[doc = ""]
801    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)"]
802    #[doc = ""]
803    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
804    pub fn ondurationchange(this: &Window) -> Option<::js_sys::Function>;
805    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ondurationchange")]
806    #[doc = "Setter for the `ondurationchange` field of this object."]
807    #[doc = ""]
808    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)"]
809    #[doc = ""]
810    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
811    pub fn set_ondurationchange(this: &Window, value: Option<&::js_sys::Function>);
812    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onemptied")]
813    #[doc = "Getter for the `onemptied` field of this object."]
814    #[doc = ""]
815    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)"]
816    #[doc = ""]
817    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
818    pub fn onemptied(this: &Window) -> Option<::js_sys::Function>;
819    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onemptied")]
820    #[doc = "Setter for the `onemptied` field of this object."]
821    #[doc = ""]
822    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)"]
823    #[doc = ""]
824    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
825    pub fn set_onemptied(this: &Window, value: Option<&::js_sys::Function>);
826    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onended")]
827    #[doc = "Getter for the `onended` field of this object."]
828    #[doc = ""]
829    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)"]
830    #[doc = ""]
831    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
832    pub fn onended(this: &Window) -> Option<::js_sys::Function>;
833    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onended")]
834    #[doc = "Setter for the `onended` field of this object."]
835    #[doc = ""]
836    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)"]
837    #[doc = ""]
838    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
839    pub fn set_onended(this: &Window, value: Option<&::js_sys::Function>);
840    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "oninput")]
841    #[doc = "Getter for the `oninput` field of this object."]
842    #[doc = ""]
843    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)"]
844    #[doc = ""]
845    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
846    pub fn oninput(this: &Window) -> Option<::js_sys::Function>;
847    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "oninput")]
848    #[doc = "Setter for the `oninput` field of this object."]
849    #[doc = ""]
850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)"]
851    #[doc = ""]
852    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
853    pub fn set_oninput(this: &Window, value: Option<&::js_sys::Function>);
854    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onbeforeinput")]
855    #[doc = "Getter for the `onbeforeinput` field of this object."]
856    #[doc = ""]
857    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinput)"]
858    #[doc = ""]
859    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
860    pub fn onbeforeinput(this: &Window) -> Option<::js_sys::Function>;
861    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onbeforeinput")]
862    #[doc = "Setter for the `onbeforeinput` field of this object."]
863    #[doc = ""]
864    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinput)"]
865    #[doc = ""]
866    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
867    pub fn set_onbeforeinput(this: &Window, value: Option<&::js_sys::Function>);
868    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "oninvalid")]
869    #[doc = "Getter for the `oninvalid` field of this object."]
870    #[doc = ""]
871    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)"]
872    #[doc = ""]
873    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
874    pub fn oninvalid(this: &Window) -> Option<::js_sys::Function>;
875    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "oninvalid")]
876    #[doc = "Setter for the `oninvalid` field of this object."]
877    #[doc = ""]
878    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)"]
879    #[doc = ""]
880    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
881    pub fn set_oninvalid(this: &Window, value: Option<&::js_sys::Function>);
882    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onkeydown")]
883    #[doc = "Getter for the `onkeydown` field of this object."]
884    #[doc = ""]
885    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)"]
886    #[doc = ""]
887    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
888    pub fn onkeydown(this: &Window) -> Option<::js_sys::Function>;
889    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onkeydown")]
890    #[doc = "Setter for the `onkeydown` field of this object."]
891    #[doc = ""]
892    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)"]
893    #[doc = ""]
894    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
895    pub fn set_onkeydown(this: &Window, value: Option<&::js_sys::Function>);
896    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onkeypress")]
897    #[doc = "Getter for the `onkeypress` field of this object."]
898    #[doc = ""]
899    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)"]
900    #[doc = ""]
901    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
902    pub fn onkeypress(this: &Window) -> Option<::js_sys::Function>;
903    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onkeypress")]
904    #[doc = "Setter for the `onkeypress` field of this object."]
905    #[doc = ""]
906    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)"]
907    #[doc = ""]
908    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
909    pub fn set_onkeypress(this: &Window, value: Option<&::js_sys::Function>);
910    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onkeyup")]
911    #[doc = "Getter for the `onkeyup` field of this object."]
912    #[doc = ""]
913    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)"]
914    #[doc = ""]
915    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
916    pub fn onkeyup(this: &Window) -> Option<::js_sys::Function>;
917    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onkeyup")]
918    #[doc = "Setter for the `onkeyup` field of this object."]
919    #[doc = ""]
920    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)"]
921    #[doc = ""]
922    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
923    pub fn set_onkeyup(this: &Window, value: Option<&::js_sys::Function>);
924    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onload")]
925    #[doc = "Getter for the `onload` field of this object."]
926    #[doc = ""]
927    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)"]
928    #[doc = ""]
929    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
930    pub fn onload(this: &Window) -> Option<::js_sys::Function>;
931    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onload")]
932    #[doc = "Setter for the `onload` field of this object."]
933    #[doc = ""]
934    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)"]
935    #[doc = ""]
936    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
937    pub fn set_onload(this: &Window, value: Option<&::js_sys::Function>);
938    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onloadeddata")]
939    #[doc = "Getter for the `onloadeddata` field of this object."]
940    #[doc = ""]
941    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)"]
942    #[doc = ""]
943    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
944    pub fn onloadeddata(this: &Window) -> Option<::js_sys::Function>;
945    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onloadeddata")]
946    #[doc = "Setter for the `onloadeddata` field of this object."]
947    #[doc = ""]
948    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)"]
949    #[doc = ""]
950    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
951    pub fn set_onloadeddata(this: &Window, value: Option<&::js_sys::Function>);
952    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onloadedmetadata")]
953    #[doc = "Getter for the `onloadedmetadata` field of this object."]
954    #[doc = ""]
955    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)"]
956    #[doc = ""]
957    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
958    pub fn onloadedmetadata(this: &Window) -> Option<::js_sys::Function>;
959    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onloadedmetadata")]
960    #[doc = "Setter for the `onloadedmetadata` field of this object."]
961    #[doc = ""]
962    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)"]
963    #[doc = ""]
964    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
965    pub fn set_onloadedmetadata(this: &Window, value: Option<&::js_sys::Function>);
966    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onloadend")]
967    #[doc = "Getter for the `onloadend` field of this object."]
968    #[doc = ""]
969    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)"]
970    #[doc = ""]
971    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
972    pub fn onloadend(this: &Window) -> Option<::js_sys::Function>;
973    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onloadend")]
974    #[doc = "Setter for the `onloadend` field of this object."]
975    #[doc = ""]
976    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)"]
977    #[doc = ""]
978    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
979    pub fn set_onloadend(this: &Window, value: Option<&::js_sys::Function>);
980    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onloadstart")]
981    #[doc = "Getter for the `onloadstart` field of this object."]
982    #[doc = ""]
983    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)"]
984    #[doc = ""]
985    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
986    pub fn onloadstart(this: &Window) -> Option<::js_sys::Function>;
987    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onloadstart")]
988    #[doc = "Setter for the `onloadstart` field of this object."]
989    #[doc = ""]
990    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)"]
991    #[doc = ""]
992    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
993    pub fn set_onloadstart(this: &Window, value: Option<&::js_sys::Function>);
994    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmousedown")]
995    #[doc = "Getter for the `onmousedown` field of this object."]
996    #[doc = ""]
997    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)"]
998    #[doc = ""]
999    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1000    pub fn onmousedown(this: &Window) -> Option<::js_sys::Function>;
1001    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmousedown")]
1002    #[doc = "Setter for the `onmousedown` field of this object."]
1003    #[doc = ""]
1004    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)"]
1005    #[doc = ""]
1006    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1007    pub fn set_onmousedown(this: &Window, value: Option<&::js_sys::Function>);
1008    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmouseenter")]
1009    #[doc = "Getter for the `onmouseenter` field of this object."]
1010    #[doc = ""]
1011    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)"]
1012    #[doc = ""]
1013    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1014    pub fn onmouseenter(this: &Window) -> Option<::js_sys::Function>;
1015    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmouseenter")]
1016    #[doc = "Setter for the `onmouseenter` field of this object."]
1017    #[doc = ""]
1018    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)"]
1019    #[doc = ""]
1020    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1021    pub fn set_onmouseenter(this: &Window, value: Option<&::js_sys::Function>);
1022    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmouseleave")]
1023    #[doc = "Getter for the `onmouseleave` field of this object."]
1024    #[doc = ""]
1025    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)"]
1026    #[doc = ""]
1027    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1028    pub fn onmouseleave(this: &Window) -> Option<::js_sys::Function>;
1029    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmouseleave")]
1030    #[doc = "Setter for the `onmouseleave` field of this object."]
1031    #[doc = ""]
1032    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)"]
1033    #[doc = ""]
1034    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1035    pub fn set_onmouseleave(this: &Window, value: Option<&::js_sys::Function>);
1036    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmousemove")]
1037    #[doc = "Getter for the `onmousemove` field of this object."]
1038    #[doc = ""]
1039    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)"]
1040    #[doc = ""]
1041    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1042    pub fn onmousemove(this: &Window) -> Option<::js_sys::Function>;
1043    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmousemove")]
1044    #[doc = "Setter for the `onmousemove` field of this object."]
1045    #[doc = ""]
1046    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)"]
1047    #[doc = ""]
1048    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1049    pub fn set_onmousemove(this: &Window, value: Option<&::js_sys::Function>);
1050    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmouseout")]
1051    #[doc = "Getter for the `onmouseout` field of this object."]
1052    #[doc = ""]
1053    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)"]
1054    #[doc = ""]
1055    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1056    pub fn onmouseout(this: &Window) -> Option<::js_sys::Function>;
1057    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmouseout")]
1058    #[doc = "Setter for the `onmouseout` field of this object."]
1059    #[doc = ""]
1060    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)"]
1061    #[doc = ""]
1062    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1063    pub fn set_onmouseout(this: &Window, value: Option<&::js_sys::Function>);
1064    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmouseover")]
1065    #[doc = "Getter for the `onmouseover` field of this object."]
1066    #[doc = ""]
1067    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)"]
1068    #[doc = ""]
1069    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1070    pub fn onmouseover(this: &Window) -> Option<::js_sys::Function>;
1071    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmouseover")]
1072    #[doc = "Setter for the `onmouseover` field of this object."]
1073    #[doc = ""]
1074    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)"]
1075    #[doc = ""]
1076    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1077    pub fn set_onmouseover(this: &Window, value: Option<&::js_sys::Function>);
1078    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmouseup")]
1079    #[doc = "Getter for the `onmouseup` field of this object."]
1080    #[doc = ""]
1081    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)"]
1082    #[doc = ""]
1083    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1084    pub fn onmouseup(this: &Window) -> Option<::js_sys::Function>;
1085    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmouseup")]
1086    #[doc = "Setter for the `onmouseup` field of this object."]
1087    #[doc = ""]
1088    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)"]
1089    #[doc = ""]
1090    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1091    pub fn set_onmouseup(this: &Window, value: Option<&::js_sys::Function>);
1092    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onwheel")]
1093    #[doc = "Getter for the `onwheel` field of this object."]
1094    #[doc = ""]
1095    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)"]
1096    #[doc = ""]
1097    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1098    pub fn onwheel(this: &Window) -> Option<::js_sys::Function>;
1099    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onwheel")]
1100    #[doc = "Setter for the `onwheel` field of this object."]
1101    #[doc = ""]
1102    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)"]
1103    #[doc = ""]
1104    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1105    pub fn set_onwheel(this: &Window, value: Option<&::js_sys::Function>);
1106    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpause")]
1107    #[doc = "Getter for the `onpause` field of this object."]
1108    #[doc = ""]
1109    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)"]
1110    #[doc = ""]
1111    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1112    pub fn onpause(this: &Window) -> Option<::js_sys::Function>;
1113    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpause")]
1114    #[doc = "Setter for the `onpause` field of this object."]
1115    #[doc = ""]
1116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)"]
1117    #[doc = ""]
1118    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1119    pub fn set_onpause(this: &Window, value: Option<&::js_sys::Function>);
1120    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onplay")]
1121    #[doc = "Getter for the `onplay` field of this object."]
1122    #[doc = ""]
1123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)"]
1124    #[doc = ""]
1125    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1126    pub fn onplay(this: &Window) -> Option<::js_sys::Function>;
1127    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onplay")]
1128    #[doc = "Setter for the `onplay` field of this object."]
1129    #[doc = ""]
1130    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)"]
1131    #[doc = ""]
1132    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1133    pub fn set_onplay(this: &Window, value: Option<&::js_sys::Function>);
1134    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onplaying")]
1135    #[doc = "Getter for the `onplaying` field of this object."]
1136    #[doc = ""]
1137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)"]
1138    #[doc = ""]
1139    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1140    pub fn onplaying(this: &Window) -> Option<::js_sys::Function>;
1141    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onplaying")]
1142    #[doc = "Setter for the `onplaying` field of this object."]
1143    #[doc = ""]
1144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)"]
1145    #[doc = ""]
1146    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1147    pub fn set_onplaying(this: &Window, value: Option<&::js_sys::Function>);
1148    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onprogress")]
1149    #[doc = "Getter for the `onprogress` field of this object."]
1150    #[doc = ""]
1151    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)"]
1152    #[doc = ""]
1153    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1154    pub fn onprogress(this: &Window) -> Option<::js_sys::Function>;
1155    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onprogress")]
1156    #[doc = "Setter for the `onprogress` field of this object."]
1157    #[doc = ""]
1158    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)"]
1159    #[doc = ""]
1160    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1161    pub fn set_onprogress(this: &Window, value: Option<&::js_sys::Function>);
1162    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onratechange")]
1163    #[doc = "Getter for the `onratechange` field of this object."]
1164    #[doc = ""]
1165    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)"]
1166    #[doc = ""]
1167    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1168    pub fn onratechange(this: &Window) -> Option<::js_sys::Function>;
1169    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onratechange")]
1170    #[doc = "Setter for the `onratechange` field of this object."]
1171    #[doc = ""]
1172    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)"]
1173    #[doc = ""]
1174    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1175    pub fn set_onratechange(this: &Window, value: Option<&::js_sys::Function>);
1176    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onreset")]
1177    #[doc = "Getter for the `onreset` field of this object."]
1178    #[doc = ""]
1179    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)"]
1180    #[doc = ""]
1181    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1182    pub fn onreset(this: &Window) -> Option<::js_sys::Function>;
1183    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onreset")]
1184    #[doc = "Setter for the `onreset` field of this object."]
1185    #[doc = ""]
1186    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)"]
1187    #[doc = ""]
1188    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1189    pub fn set_onreset(this: &Window, value: Option<&::js_sys::Function>);
1190    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onresize")]
1191    #[doc = "Getter for the `onresize` field of this object."]
1192    #[doc = ""]
1193    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)"]
1194    #[doc = ""]
1195    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1196    pub fn onresize(this: &Window) -> Option<::js_sys::Function>;
1197    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onresize")]
1198    #[doc = "Setter for the `onresize` field of this object."]
1199    #[doc = ""]
1200    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)"]
1201    #[doc = ""]
1202    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1203    pub fn set_onresize(this: &Window, value: Option<&::js_sys::Function>);
1204    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onscroll")]
1205    #[doc = "Getter for the `onscroll` field of this object."]
1206    #[doc = ""]
1207    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)"]
1208    #[doc = ""]
1209    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1210    pub fn onscroll(this: &Window) -> Option<::js_sys::Function>;
1211    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onscroll")]
1212    #[doc = "Setter for the `onscroll` field of this object."]
1213    #[doc = ""]
1214    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)"]
1215    #[doc = ""]
1216    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1217    pub fn set_onscroll(this: &Window, value: Option<&::js_sys::Function>);
1218    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onseeked")]
1219    #[doc = "Getter for the `onseeked` field of this object."]
1220    #[doc = ""]
1221    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)"]
1222    #[doc = ""]
1223    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1224    pub fn onseeked(this: &Window) -> Option<::js_sys::Function>;
1225    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onseeked")]
1226    #[doc = "Setter for the `onseeked` field of this object."]
1227    #[doc = ""]
1228    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)"]
1229    #[doc = ""]
1230    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1231    pub fn set_onseeked(this: &Window, value: Option<&::js_sys::Function>);
1232    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onseeking")]
1233    #[doc = "Getter for the `onseeking` field of this object."]
1234    #[doc = ""]
1235    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)"]
1236    #[doc = ""]
1237    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1238    pub fn onseeking(this: &Window) -> Option<::js_sys::Function>;
1239    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onseeking")]
1240    #[doc = "Setter for the `onseeking` field of this object."]
1241    #[doc = ""]
1242    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)"]
1243    #[doc = ""]
1244    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1245    pub fn set_onseeking(this: &Window, value: Option<&::js_sys::Function>);
1246    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onselect")]
1247    #[doc = "Getter for the `onselect` field of this object."]
1248    #[doc = ""]
1249    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)"]
1250    #[doc = ""]
1251    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1252    pub fn onselect(this: &Window) -> Option<::js_sys::Function>;
1253    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onselect")]
1254    #[doc = "Setter for the `onselect` field of this object."]
1255    #[doc = ""]
1256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)"]
1257    #[doc = ""]
1258    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1259    pub fn set_onselect(this: &Window, value: Option<&::js_sys::Function>);
1260    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onshow")]
1261    #[doc = "Getter for the `onshow` field of this object."]
1262    #[doc = ""]
1263    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)"]
1264    #[doc = ""]
1265    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1266    pub fn onshow(this: &Window) -> Option<::js_sys::Function>;
1267    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onshow")]
1268    #[doc = "Setter for the `onshow` field of this object."]
1269    #[doc = ""]
1270    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)"]
1271    #[doc = ""]
1272    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1273    pub fn set_onshow(this: &Window, value: Option<&::js_sys::Function>);
1274    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onstalled")]
1275    #[doc = "Getter for the `onstalled` field of this object."]
1276    #[doc = ""]
1277    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)"]
1278    #[doc = ""]
1279    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1280    pub fn onstalled(this: &Window) -> Option<::js_sys::Function>;
1281    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onstalled")]
1282    #[doc = "Setter for the `onstalled` field of this object."]
1283    #[doc = ""]
1284    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)"]
1285    #[doc = ""]
1286    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1287    pub fn set_onstalled(this: &Window, value: Option<&::js_sys::Function>);
1288    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onsubmit")]
1289    #[doc = "Getter for the `onsubmit` field of this object."]
1290    #[doc = ""]
1291    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)"]
1292    #[doc = ""]
1293    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1294    pub fn onsubmit(this: &Window) -> Option<::js_sys::Function>;
1295    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onsubmit")]
1296    #[doc = "Setter for the `onsubmit` field of this object."]
1297    #[doc = ""]
1298    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)"]
1299    #[doc = ""]
1300    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1301    pub fn set_onsubmit(this: &Window, value: Option<&::js_sys::Function>);
1302    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onsuspend")]
1303    #[doc = "Getter for the `onsuspend` field of this object."]
1304    #[doc = ""]
1305    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)"]
1306    #[doc = ""]
1307    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1308    pub fn onsuspend(this: &Window) -> Option<::js_sys::Function>;
1309    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onsuspend")]
1310    #[doc = "Setter for the `onsuspend` field of this object."]
1311    #[doc = ""]
1312    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)"]
1313    #[doc = ""]
1314    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1315    pub fn set_onsuspend(this: &Window, value: Option<&::js_sys::Function>);
1316    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontimeupdate")]
1317    #[doc = "Getter for the `ontimeupdate` field of this object."]
1318    #[doc = ""]
1319    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)"]
1320    #[doc = ""]
1321    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1322    pub fn ontimeupdate(this: &Window) -> Option<::js_sys::Function>;
1323    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontimeupdate")]
1324    #[doc = "Setter for the `ontimeupdate` field of this object."]
1325    #[doc = ""]
1326    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)"]
1327    #[doc = ""]
1328    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1329    pub fn set_ontimeupdate(this: &Window, value: Option<&::js_sys::Function>);
1330    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onvolumechange")]
1331    #[doc = "Getter for the `onvolumechange` field of this object."]
1332    #[doc = ""]
1333    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)"]
1334    #[doc = ""]
1335    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1336    pub fn onvolumechange(this: &Window) -> Option<::js_sys::Function>;
1337    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onvolumechange")]
1338    #[doc = "Setter for the `onvolumechange` field of this object."]
1339    #[doc = ""]
1340    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)"]
1341    #[doc = ""]
1342    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1343    pub fn set_onvolumechange(this: &Window, value: Option<&::js_sys::Function>);
1344    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onwaiting")]
1345    #[doc = "Getter for the `onwaiting` field of this object."]
1346    #[doc = ""]
1347    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)"]
1348    #[doc = ""]
1349    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1350    pub fn onwaiting(this: &Window) -> Option<::js_sys::Function>;
1351    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onwaiting")]
1352    #[doc = "Setter for the `onwaiting` field of this object."]
1353    #[doc = ""]
1354    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)"]
1355    #[doc = ""]
1356    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1357    pub fn set_onwaiting(this: &Window, value: Option<&::js_sys::Function>);
1358    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onselectstart")]
1359    #[doc = "Getter for the `onselectstart` field of this object."]
1360    #[doc = ""]
1361    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)"]
1362    #[doc = ""]
1363    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1364    pub fn onselectstart(this: &Window) -> Option<::js_sys::Function>;
1365    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onselectstart")]
1366    #[doc = "Setter for the `onselectstart` field of this object."]
1367    #[doc = ""]
1368    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)"]
1369    #[doc = ""]
1370    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1371    pub fn set_onselectstart(this: &Window, value: Option<&::js_sys::Function>);
1372    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontoggle")]
1373    #[doc = "Getter for the `ontoggle` field of this object."]
1374    #[doc = ""]
1375    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)"]
1376    #[doc = ""]
1377    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1378    pub fn ontoggle(this: &Window) -> Option<::js_sys::Function>;
1379    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontoggle")]
1380    #[doc = "Setter for the `ontoggle` field of this object."]
1381    #[doc = ""]
1382    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)"]
1383    #[doc = ""]
1384    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1385    pub fn set_ontoggle(this: &Window, value: Option<&::js_sys::Function>);
1386    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointercancel")]
1387    #[doc = "Getter for the `onpointercancel` field of this object."]
1388    #[doc = ""]
1389    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)"]
1390    #[doc = ""]
1391    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1392    pub fn onpointercancel(this: &Window) -> Option<::js_sys::Function>;
1393    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointercancel")]
1394    #[doc = "Setter for the `onpointercancel` field of this object."]
1395    #[doc = ""]
1396    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)"]
1397    #[doc = ""]
1398    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1399    pub fn set_onpointercancel(this: &Window, value: Option<&::js_sys::Function>);
1400    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointerdown")]
1401    #[doc = "Getter for the `onpointerdown` field of this object."]
1402    #[doc = ""]
1403    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)"]
1404    #[doc = ""]
1405    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1406    pub fn onpointerdown(this: &Window) -> Option<::js_sys::Function>;
1407    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointerdown")]
1408    #[doc = "Setter for the `onpointerdown` field of this object."]
1409    #[doc = ""]
1410    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)"]
1411    #[doc = ""]
1412    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1413    pub fn set_onpointerdown(this: &Window, value: Option<&::js_sys::Function>);
1414    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointerup")]
1415    #[doc = "Getter for the `onpointerup` field of this object."]
1416    #[doc = ""]
1417    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)"]
1418    #[doc = ""]
1419    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1420    pub fn onpointerup(this: &Window) -> Option<::js_sys::Function>;
1421    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointerup")]
1422    #[doc = "Setter for the `onpointerup` field of this object."]
1423    #[doc = ""]
1424    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)"]
1425    #[doc = ""]
1426    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1427    pub fn set_onpointerup(this: &Window, value: Option<&::js_sys::Function>);
1428    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointermove")]
1429    #[doc = "Getter for the `onpointermove` field of this object."]
1430    #[doc = ""]
1431    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)"]
1432    #[doc = ""]
1433    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1434    pub fn onpointermove(this: &Window) -> Option<::js_sys::Function>;
1435    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointermove")]
1436    #[doc = "Setter for the `onpointermove` field of this object."]
1437    #[doc = ""]
1438    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)"]
1439    #[doc = ""]
1440    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1441    pub fn set_onpointermove(this: &Window, value: Option<&::js_sys::Function>);
1442    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointerout")]
1443    #[doc = "Getter for the `onpointerout` field of this object."]
1444    #[doc = ""]
1445    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)"]
1446    #[doc = ""]
1447    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1448    pub fn onpointerout(this: &Window) -> Option<::js_sys::Function>;
1449    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointerout")]
1450    #[doc = "Setter for the `onpointerout` field of this object."]
1451    #[doc = ""]
1452    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)"]
1453    #[doc = ""]
1454    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1455    pub fn set_onpointerout(this: &Window, value: Option<&::js_sys::Function>);
1456    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointerover")]
1457    #[doc = "Getter for the `onpointerover` field of this object."]
1458    #[doc = ""]
1459    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)"]
1460    #[doc = ""]
1461    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1462    pub fn onpointerover(this: &Window) -> Option<::js_sys::Function>;
1463    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointerover")]
1464    #[doc = "Setter for the `onpointerover` field of this object."]
1465    #[doc = ""]
1466    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)"]
1467    #[doc = ""]
1468    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1469    pub fn set_onpointerover(this: &Window, value: Option<&::js_sys::Function>);
1470    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointerenter")]
1471    #[doc = "Getter for the `onpointerenter` field of this object."]
1472    #[doc = ""]
1473    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)"]
1474    #[doc = ""]
1475    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1476    pub fn onpointerenter(this: &Window) -> Option<::js_sys::Function>;
1477    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointerenter")]
1478    #[doc = "Setter for the `onpointerenter` field of this object."]
1479    #[doc = ""]
1480    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)"]
1481    #[doc = ""]
1482    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1483    pub fn set_onpointerenter(this: &Window, value: Option<&::js_sys::Function>);
1484    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpointerleave")]
1485    #[doc = "Getter for the `onpointerleave` field of this object."]
1486    #[doc = ""]
1487    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)"]
1488    #[doc = ""]
1489    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1490    pub fn onpointerleave(this: &Window) -> Option<::js_sys::Function>;
1491    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpointerleave")]
1492    #[doc = "Setter for the `onpointerleave` field of this object."]
1493    #[doc = ""]
1494    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)"]
1495    #[doc = ""]
1496    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1497    pub fn set_onpointerleave(this: &Window, value: Option<&::js_sys::Function>);
1498    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ongotpointercapture")]
1499    #[doc = "Getter for the `ongotpointercapture` field of this object."]
1500    #[doc = ""]
1501    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)"]
1502    #[doc = ""]
1503    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1504    pub fn ongotpointercapture(this: &Window) -> Option<::js_sys::Function>;
1505    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ongotpointercapture")]
1506    #[doc = "Setter for the `ongotpointercapture` field of this object."]
1507    #[doc = ""]
1508    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)"]
1509    #[doc = ""]
1510    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1511    pub fn set_ongotpointercapture(this: &Window, value: Option<&::js_sys::Function>);
1512    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onlostpointercapture")]
1513    #[doc = "Getter for the `onlostpointercapture` field of this object."]
1514    #[doc = ""]
1515    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)"]
1516    #[doc = ""]
1517    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1518    pub fn onlostpointercapture(this: &Window) -> Option<::js_sys::Function>;
1519    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onlostpointercapture")]
1520    #[doc = "Setter for the `onlostpointercapture` field of this object."]
1521    #[doc = ""]
1522    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)"]
1523    #[doc = ""]
1524    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1525    pub fn set_onlostpointercapture(this: &Window, value: Option<&::js_sys::Function>);
1526    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onanimationcancel")]
1527    #[doc = "Getter for the `onanimationcancel` field of this object."]
1528    #[doc = ""]
1529    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)"]
1530    #[doc = ""]
1531    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1532    pub fn onanimationcancel(this: &Window) -> Option<::js_sys::Function>;
1533    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onanimationcancel")]
1534    #[doc = "Setter for the `onanimationcancel` field of this object."]
1535    #[doc = ""]
1536    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)"]
1537    #[doc = ""]
1538    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1539    pub fn set_onanimationcancel(this: &Window, value: Option<&::js_sys::Function>);
1540    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onanimationend")]
1541    #[doc = "Getter for the `onanimationend` field of this object."]
1542    #[doc = ""]
1543    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)"]
1544    #[doc = ""]
1545    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1546    pub fn onanimationend(this: &Window) -> Option<::js_sys::Function>;
1547    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onanimationend")]
1548    #[doc = "Setter for the `onanimationend` field of this object."]
1549    #[doc = ""]
1550    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)"]
1551    #[doc = ""]
1552    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1553    pub fn set_onanimationend(this: &Window, value: Option<&::js_sys::Function>);
1554    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onanimationiteration")]
1555    #[doc = "Getter for the `onanimationiteration` field of this object."]
1556    #[doc = ""]
1557    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)"]
1558    #[doc = ""]
1559    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1560    pub fn onanimationiteration(this: &Window) -> Option<::js_sys::Function>;
1561    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onanimationiteration")]
1562    #[doc = "Setter for the `onanimationiteration` field of this object."]
1563    #[doc = ""]
1564    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)"]
1565    #[doc = ""]
1566    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1567    pub fn set_onanimationiteration(this: &Window, value: Option<&::js_sys::Function>);
1568    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onanimationstart")]
1569    #[doc = "Getter for the `onanimationstart` field of this object."]
1570    #[doc = ""]
1571    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)"]
1572    #[doc = ""]
1573    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1574    pub fn onanimationstart(this: &Window) -> Option<::js_sys::Function>;
1575    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onanimationstart")]
1576    #[doc = "Setter for the `onanimationstart` field of this object."]
1577    #[doc = ""]
1578    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)"]
1579    #[doc = ""]
1580    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1581    pub fn set_onanimationstart(this: &Window, value: Option<&::js_sys::Function>);
1582    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontransitioncancel")]
1583    #[doc = "Getter for the `ontransitioncancel` field of this object."]
1584    #[doc = ""]
1585    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)"]
1586    #[doc = ""]
1587    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1588    pub fn ontransitioncancel(this: &Window) -> Option<::js_sys::Function>;
1589    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontransitioncancel")]
1590    #[doc = "Setter for the `ontransitioncancel` field of this object."]
1591    #[doc = ""]
1592    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)"]
1593    #[doc = ""]
1594    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1595    pub fn set_ontransitioncancel(this: &Window, value: Option<&::js_sys::Function>);
1596    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontransitionend")]
1597    #[doc = "Getter for the `ontransitionend` field of this object."]
1598    #[doc = ""]
1599    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)"]
1600    #[doc = ""]
1601    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1602    pub fn ontransitionend(this: &Window) -> Option<::js_sys::Function>;
1603    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontransitionend")]
1604    #[doc = "Setter for the `ontransitionend` field of this object."]
1605    #[doc = ""]
1606    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)"]
1607    #[doc = ""]
1608    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1609    pub fn set_ontransitionend(this: &Window, value: Option<&::js_sys::Function>);
1610    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontransitionrun")]
1611    #[doc = "Getter for the `ontransitionrun` field of this object."]
1612    #[doc = ""]
1613    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)"]
1614    #[doc = ""]
1615    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1616    pub fn ontransitionrun(this: &Window) -> Option<::js_sys::Function>;
1617    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontransitionrun")]
1618    #[doc = "Setter for the `ontransitionrun` field of this object."]
1619    #[doc = ""]
1620    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)"]
1621    #[doc = ""]
1622    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1623    pub fn set_ontransitionrun(this: &Window, value: Option<&::js_sys::Function>);
1624    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontransitionstart")]
1625    #[doc = "Getter for the `ontransitionstart` field of this object."]
1626    #[doc = ""]
1627    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)"]
1628    #[doc = ""]
1629    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1630    pub fn ontransitionstart(this: &Window) -> Option<::js_sys::Function>;
1631    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontransitionstart")]
1632    #[doc = "Setter for the `ontransitionstart` field of this object."]
1633    #[doc = ""]
1634    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)"]
1635    #[doc = ""]
1636    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1637    pub fn set_ontransitionstart(this: &Window, value: Option<&::js_sys::Function>);
1638    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onwebkitanimationend")]
1639    #[doc = "Getter for the `onwebkitanimationend` field of this object."]
1640    #[doc = ""]
1641    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)"]
1642    #[doc = ""]
1643    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1644    pub fn onwebkitanimationend(this: &Window) -> Option<::js_sys::Function>;
1645    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onwebkitanimationend")]
1646    #[doc = "Setter for the `onwebkitanimationend` field of this object."]
1647    #[doc = ""]
1648    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)"]
1649    #[doc = ""]
1650    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1651    pub fn set_onwebkitanimationend(this: &Window, value: Option<&::js_sys::Function>);
1652    #[wasm_bindgen(
1653        method,
1654        getter,
1655        js_class = "Window",
1656        js_name = "onwebkitanimationiteration"
1657    )]
1658    #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
1659    #[doc = ""]
1660    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)"]
1661    #[doc = ""]
1662    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1663    pub fn onwebkitanimationiteration(this: &Window) -> Option<::js_sys::Function>;
1664    #[wasm_bindgen(
1665        method,
1666        setter,
1667        js_class = "Window",
1668        js_name = "onwebkitanimationiteration"
1669    )]
1670    #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
1671    #[doc = ""]
1672    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)"]
1673    #[doc = ""]
1674    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1675    pub fn set_onwebkitanimationiteration(this: &Window, value: Option<&::js_sys::Function>);
1676    #[wasm_bindgen(
1677        method,
1678        getter,
1679        js_class = "Window",
1680        js_name = "onwebkitanimationstart"
1681    )]
1682    #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
1683    #[doc = ""]
1684    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)"]
1685    #[doc = ""]
1686    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1687    pub fn onwebkitanimationstart(this: &Window) -> Option<::js_sys::Function>;
1688    #[wasm_bindgen(
1689        method,
1690        setter,
1691        js_class = "Window",
1692        js_name = "onwebkitanimationstart"
1693    )]
1694    #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
1695    #[doc = ""]
1696    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)"]
1697    #[doc = ""]
1698    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1699    pub fn set_onwebkitanimationstart(this: &Window, value: Option<&::js_sys::Function>);
1700    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onwebkittransitionend")]
1701    #[doc = "Getter for the `onwebkittransitionend` field of this object."]
1702    #[doc = ""]
1703    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)"]
1704    #[doc = ""]
1705    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1706    pub fn onwebkittransitionend(this: &Window) -> Option<::js_sys::Function>;
1707    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onwebkittransitionend")]
1708    #[doc = "Setter for the `onwebkittransitionend` field of this object."]
1709    #[doc = ""]
1710    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)"]
1711    #[doc = ""]
1712    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1713    pub fn set_onwebkittransitionend(this: &Window, value: Option<&::js_sys::Function>);
1714    #[cfg(feature = "U2f")]
1715    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "u2f")]
1716    #[doc = "Getter for the `u2f` field of this object."]
1717    #[doc = ""]
1718    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/u2f)"]
1719    #[doc = ""]
1720    #[doc = "*This API requires the following crate features to be activated: `U2f`, `Window`*"]
1721    pub fn u2f(this: &Window) -> Result<U2f, JsValue>;
1722    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onerror")]
1723    #[doc = "Getter for the `onerror` field of this object."]
1724    #[doc = ""]
1725    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)"]
1726    #[doc = ""]
1727    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1728    pub fn onerror(this: &Window) -> Option<::js_sys::Function>;
1729    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onerror")]
1730    #[doc = "Setter for the `onerror` field of this object."]
1731    #[doc = ""]
1732    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)"]
1733    #[doc = ""]
1734    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1735    pub fn set_onerror(this: &Window, value: Option<&::js_sys::Function>);
1736    #[cfg(feature = "SpeechSynthesis")]
1737    #[wasm_bindgen(
1738        catch,
1739        method,
1740        getter,
1741        js_class = "Window",
1742        js_name = "speechSynthesis"
1743    )]
1744    #[doc = "Getter for the `speechSynthesis` field of this object."]
1745    #[doc = ""]
1746    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis)"]
1747    #[doc = ""]
1748    #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`, `Window`*"]
1749    pub fn speech_synthesis(this: &Window) -> Result<SpeechSynthesis, JsValue>;
1750    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontouchstart")]
1751    #[doc = "Getter for the `ontouchstart` field of this object."]
1752    #[doc = ""]
1753    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)"]
1754    #[doc = ""]
1755    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1756    pub fn ontouchstart(this: &Window) -> Option<::js_sys::Function>;
1757    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontouchstart")]
1758    #[doc = "Setter for the `ontouchstart` field of this object."]
1759    #[doc = ""]
1760    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)"]
1761    #[doc = ""]
1762    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1763    pub fn set_ontouchstart(this: &Window, value: Option<&::js_sys::Function>);
1764    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontouchend")]
1765    #[doc = "Getter for the `ontouchend` field of this object."]
1766    #[doc = ""]
1767    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)"]
1768    #[doc = ""]
1769    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1770    pub fn ontouchend(this: &Window) -> Option<::js_sys::Function>;
1771    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontouchend")]
1772    #[doc = "Setter for the `ontouchend` field of this object."]
1773    #[doc = ""]
1774    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)"]
1775    #[doc = ""]
1776    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1777    pub fn set_ontouchend(this: &Window, value: Option<&::js_sys::Function>);
1778    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontouchmove")]
1779    #[doc = "Getter for the `ontouchmove` field of this object."]
1780    #[doc = ""]
1781    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)"]
1782    #[doc = ""]
1783    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1784    pub fn ontouchmove(this: &Window) -> Option<::js_sys::Function>;
1785    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontouchmove")]
1786    #[doc = "Setter for the `ontouchmove` field of this object."]
1787    #[doc = ""]
1788    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)"]
1789    #[doc = ""]
1790    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1791    pub fn set_ontouchmove(this: &Window, value: Option<&::js_sys::Function>);
1792    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ontouchcancel")]
1793    #[doc = "Getter for the `ontouchcancel` field of this object."]
1794    #[doc = ""]
1795    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)"]
1796    #[doc = ""]
1797    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1798    pub fn ontouchcancel(this: &Window) -> Option<::js_sys::Function>;
1799    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ontouchcancel")]
1800    #[doc = "Setter for the `ontouchcancel` field of this object."]
1801    #[doc = ""]
1802    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)"]
1803    #[doc = ""]
1804    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1805    pub fn set_ontouchcancel(this: &Window, value: Option<&::js_sys::Function>);
1806    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onafterprint")]
1807    #[doc = "Getter for the `onafterprint` field of this object."]
1808    #[doc = ""]
1809    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)"]
1810    #[doc = ""]
1811    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1812    pub fn onafterprint(this: &Window) -> Option<::js_sys::Function>;
1813    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onafterprint")]
1814    #[doc = "Setter for the `onafterprint` field of this object."]
1815    #[doc = ""]
1816    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)"]
1817    #[doc = ""]
1818    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1819    pub fn set_onafterprint(this: &Window, value: Option<&::js_sys::Function>);
1820    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onbeforeprint")]
1821    #[doc = "Getter for the `onbeforeprint` field of this object."]
1822    #[doc = ""]
1823    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)"]
1824    #[doc = ""]
1825    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1826    pub fn onbeforeprint(this: &Window) -> Option<::js_sys::Function>;
1827    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onbeforeprint")]
1828    #[doc = "Setter for the `onbeforeprint` field of this object."]
1829    #[doc = ""]
1830    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)"]
1831    #[doc = ""]
1832    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1833    pub fn set_onbeforeprint(this: &Window, value: Option<&::js_sys::Function>);
1834    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onbeforeunload")]
1835    #[doc = "Getter for the `onbeforeunload` field of this object."]
1836    #[doc = ""]
1837    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)"]
1838    #[doc = ""]
1839    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1840    pub fn onbeforeunload(this: &Window) -> Option<::js_sys::Function>;
1841    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onbeforeunload")]
1842    #[doc = "Setter for the `onbeforeunload` field of this object."]
1843    #[doc = ""]
1844    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)"]
1845    #[doc = ""]
1846    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1847    pub fn set_onbeforeunload(this: &Window, value: Option<&::js_sys::Function>);
1848    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onhashchange")]
1849    #[doc = "Getter for the `onhashchange` field of this object."]
1850    #[doc = ""]
1851    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)"]
1852    #[doc = ""]
1853    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1854    pub fn onhashchange(this: &Window) -> Option<::js_sys::Function>;
1855    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onhashchange")]
1856    #[doc = "Setter for the `onhashchange` field of this object."]
1857    #[doc = ""]
1858    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)"]
1859    #[doc = ""]
1860    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1861    pub fn set_onhashchange(this: &Window, value: Option<&::js_sys::Function>);
1862    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onlanguagechange")]
1863    #[doc = "Getter for the `onlanguagechange` field of this object."]
1864    #[doc = ""]
1865    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)"]
1866    #[doc = ""]
1867    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1868    pub fn onlanguagechange(this: &Window) -> Option<::js_sys::Function>;
1869    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onlanguagechange")]
1870    #[doc = "Setter for the `onlanguagechange` field of this object."]
1871    #[doc = ""]
1872    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)"]
1873    #[doc = ""]
1874    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1875    pub fn set_onlanguagechange(this: &Window, value: Option<&::js_sys::Function>);
1876    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmessage")]
1877    #[doc = "Getter for the `onmessage` field of this object."]
1878    #[doc = ""]
1879    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)"]
1880    #[doc = ""]
1881    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1882    pub fn onmessage(this: &Window) -> Option<::js_sys::Function>;
1883    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmessage")]
1884    #[doc = "Setter for the `onmessage` field of this object."]
1885    #[doc = ""]
1886    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)"]
1887    #[doc = ""]
1888    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1889    pub fn set_onmessage(this: &Window, value: Option<&::js_sys::Function>);
1890    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onmessageerror")]
1891    #[doc = "Getter for the `onmessageerror` field of this object."]
1892    #[doc = ""]
1893    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)"]
1894    #[doc = ""]
1895    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1896    pub fn onmessageerror(this: &Window) -> Option<::js_sys::Function>;
1897    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onmessageerror")]
1898    #[doc = "Setter for the `onmessageerror` field of this object."]
1899    #[doc = ""]
1900    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)"]
1901    #[doc = ""]
1902    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1903    pub fn set_onmessageerror(this: &Window, value: Option<&::js_sys::Function>);
1904    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onoffline")]
1905    #[doc = "Getter for the `onoffline` field of this object."]
1906    #[doc = ""]
1907    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)"]
1908    #[doc = ""]
1909    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1910    pub fn onoffline(this: &Window) -> Option<::js_sys::Function>;
1911    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onoffline")]
1912    #[doc = "Setter for the `onoffline` field of this object."]
1913    #[doc = ""]
1914    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)"]
1915    #[doc = ""]
1916    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1917    pub fn set_onoffline(this: &Window, value: Option<&::js_sys::Function>);
1918    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ononline")]
1919    #[doc = "Getter for the `ononline` field of this object."]
1920    #[doc = ""]
1921    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)"]
1922    #[doc = ""]
1923    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1924    pub fn ononline(this: &Window) -> Option<::js_sys::Function>;
1925    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ononline")]
1926    #[doc = "Setter for the `ononline` field of this object."]
1927    #[doc = ""]
1928    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)"]
1929    #[doc = ""]
1930    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1931    pub fn set_ononline(this: &Window, value: Option<&::js_sys::Function>);
1932    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpagehide")]
1933    #[doc = "Getter for the `onpagehide` field of this object."]
1934    #[doc = ""]
1935    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)"]
1936    #[doc = ""]
1937    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1938    pub fn onpagehide(this: &Window) -> Option<::js_sys::Function>;
1939    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpagehide")]
1940    #[doc = "Setter for the `onpagehide` field of this object."]
1941    #[doc = ""]
1942    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)"]
1943    #[doc = ""]
1944    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1945    pub fn set_onpagehide(this: &Window, value: Option<&::js_sys::Function>);
1946    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpageshow")]
1947    #[doc = "Getter for the `onpageshow` field of this object."]
1948    #[doc = ""]
1949    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)"]
1950    #[doc = ""]
1951    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1952    pub fn onpageshow(this: &Window) -> Option<::js_sys::Function>;
1953    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpageshow")]
1954    #[doc = "Setter for the `onpageshow` field of this object."]
1955    #[doc = ""]
1956    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)"]
1957    #[doc = ""]
1958    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1959    pub fn set_onpageshow(this: &Window, value: Option<&::js_sys::Function>);
1960    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onpopstate")]
1961    #[doc = "Getter for the `onpopstate` field of this object."]
1962    #[doc = ""]
1963    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)"]
1964    #[doc = ""]
1965    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1966    pub fn onpopstate(this: &Window) -> Option<::js_sys::Function>;
1967    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onpopstate")]
1968    #[doc = "Setter for the `onpopstate` field of this object."]
1969    #[doc = ""]
1970    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)"]
1971    #[doc = ""]
1972    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1973    pub fn set_onpopstate(this: &Window, value: Option<&::js_sys::Function>);
1974    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onstorage")]
1975    #[doc = "Getter for the `onstorage` field of this object."]
1976    #[doc = ""]
1977    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)"]
1978    #[doc = ""]
1979    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1980    pub fn onstorage(this: &Window) -> Option<::js_sys::Function>;
1981    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onstorage")]
1982    #[doc = "Setter for the `onstorage` field of this object."]
1983    #[doc = ""]
1984    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)"]
1985    #[doc = ""]
1986    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1987    pub fn set_onstorage(this: &Window, value: Option<&::js_sys::Function>);
1988    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "onunload")]
1989    #[doc = "Getter for the `onunload` field of this object."]
1990    #[doc = ""]
1991    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)"]
1992    #[doc = ""]
1993    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1994    pub fn onunload(this: &Window) -> Option<::js_sys::Function>;
1995    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "onunload")]
1996    #[doc = "Setter for the `onunload` field of this object."]
1997    #[doc = ""]
1998    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)"]
1999    #[doc = ""]
2000    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2001    pub fn set_onunload(this: &Window, value: Option<&::js_sys::Function>);
2002    #[cfg(web_sys_unstable_apis)]
2003    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ongamepadconnected")]
2004    #[doc = "Getter for the `ongamepadconnected` field of this object."]
2005    #[doc = ""]
2006    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected)"]
2007    #[doc = ""]
2008    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2009    #[doc = ""]
2010    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2011    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2012    pub fn ongamepadconnected(this: &Window) -> Option<::js_sys::Function>;
2013    #[cfg(web_sys_unstable_apis)]
2014    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ongamepadconnected")]
2015    #[doc = "Setter for the `ongamepadconnected` field of this object."]
2016    #[doc = ""]
2017    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected)"]
2018    #[doc = ""]
2019    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2020    #[doc = ""]
2021    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2022    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2023    pub fn set_ongamepadconnected(this: &Window, value: Option<&::js_sys::Function>);
2024    #[cfg(web_sys_unstable_apis)]
2025    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "ongamepaddisconnected")]
2026    #[doc = "Getter for the `ongamepaddisconnected` field of this object."]
2027    #[doc = ""]
2028    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected)"]
2029    #[doc = ""]
2030    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2031    #[doc = ""]
2032    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2033    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2034    pub fn ongamepaddisconnected(this: &Window) -> Option<::js_sys::Function>;
2035    #[cfg(web_sys_unstable_apis)]
2036    #[wasm_bindgen(method, setter, js_class = "Window", js_name = "ongamepaddisconnected")]
2037    #[doc = "Setter for the `ongamepaddisconnected` field of this object."]
2038    #[doc = ""]
2039    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected)"]
2040    #[doc = ""]
2041    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2042    #[doc = ""]
2043    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2044    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2045    pub fn set_ongamepaddisconnected(this: &Window, value: Option<&::js_sys::Function>);
2046    #[cfg(feature = "Storage")]
2047    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "localStorage")]
2048    #[doc = "Getter for the `localStorage` field of this object."]
2049    #[doc = ""]
2050    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)"]
2051    #[doc = ""]
2052    #[doc = "*This API requires the following crate features to be activated: `Storage`, `Window`*"]
2053    pub fn local_storage(this: &Window) -> Result<Option<Storage>, JsValue>;
2054    #[cfg(feature = "IdbFactory")]
2055    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "indexedDB")]
2056    #[doc = "Getter for the `indexedDB` field of this object."]
2057    #[doc = ""]
2058    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/indexedDB)"]
2059    #[doc = ""]
2060    #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `Window`*"]
2061    pub fn indexed_db(this: &Window) -> Result<Option<IdbFactory>, JsValue>;
2062    #[cfg(feature = "Performance")]
2063    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "performance")]
2064    #[doc = "Getter for the `performance` field of this object."]
2065    #[doc = ""]
2066    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/performance)"]
2067    #[doc = ""]
2068    #[doc = "*This API requires the following crate features to be activated: `Performance`, `Window`*"]
2069    pub fn performance(this: &Window) -> Option<Performance>;
2070    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "origin")]
2071    #[doc = "Getter for the `origin` field of this object."]
2072    #[doc = ""]
2073    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/origin)"]
2074    #[doc = ""]
2075    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2076    pub fn origin(this: &Window) -> ::alloc::string::String;
2077    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "isSecureContext")]
2078    #[doc = "Getter for the `isSecureContext` field of this object."]
2079    #[doc = ""]
2080    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext)"]
2081    #[doc = ""]
2082    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2083    pub fn is_secure_context(this: &Window) -> bool;
2084    #[cfg(feature = "CacheStorage")]
2085    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "caches")]
2086    #[doc = "Getter for the `caches` field of this object."]
2087    #[doc = ""]
2088    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/caches)"]
2089    #[doc = ""]
2090    #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `Window`*"]
2091    pub fn caches(this: &Window) -> Result<CacheStorage, JsValue>;
2092    #[cfg(web_sys_unstable_apis)]
2093    #[cfg(feature = "Scheduler")]
2094    #[wasm_bindgen(method, getter, js_class = "Window", js_name = "scheduler")]
2095    #[doc = "Getter for the `scheduler` field of this object."]
2096    #[doc = ""]
2097    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scheduler)"]
2098    #[doc = ""]
2099    #[doc = "*This API requires the following crate features to be activated: `Scheduler`, `Window`*"]
2100    #[doc = ""]
2101    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2102    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2103    pub fn scheduler(this: &Window) -> Scheduler;
2104    #[cfg(feature = "Storage")]
2105    #[wasm_bindgen(catch, method, getter, js_class = "Window", js_name = "sessionStorage")]
2106    #[doc = "Getter for the `sessionStorage` field of this object."]
2107    #[doc = ""]
2108    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)"]
2109    #[doc = ""]
2110    #[doc = "*This API requires the following crate features to be activated: `Storage`, `Window`*"]
2111    pub fn session_storage(this: &Window) -> Result<Option<Storage>, JsValue>;
2112    #[wasm_bindgen(catch, method, js_class = "Window")]
2113    #[doc = "The `alert()` method."]
2114    #[doc = ""]
2115    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)"]
2116    #[doc = ""]
2117    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2118    pub fn alert(this: &Window) -> Result<(), JsValue>;
2119    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "alert")]
2120    #[doc = "The `alert()` method."]
2121    #[doc = ""]
2122    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)"]
2123    #[doc = ""]
2124    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2125    pub fn alert_with_message(this: &Window, message: &str) -> Result<(), JsValue>;
2126    #[wasm_bindgen(catch, method, js_class = "Window")]
2127    #[doc = "The `blur()` method."]
2128    #[doc = ""]
2129    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/blur)"]
2130    #[doc = ""]
2131    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2132    pub fn blur(this: &Window) -> Result<(), JsValue>;
2133    #[wasm_bindgen(method, js_class = "Window", js_name = "cancelIdleCallback")]
2134    #[doc = "The `cancelIdleCallback()` method."]
2135    #[doc = ""]
2136    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback)"]
2137    #[doc = ""]
2138    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2139    pub fn cancel_idle_callback(this: &Window, handle: u32);
2140    #[wasm_bindgen(method, js_class = "Window", js_name = "captureEvents")]
2141    #[doc = "The `captureEvents()` method."]
2142    #[doc = ""]
2143    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents)"]
2144    #[doc = ""]
2145    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2146    pub fn capture_events(this: &Window);
2147    #[wasm_bindgen(catch, method, js_class = "Window")]
2148    #[doc = "The `close()` method."]
2149    #[doc = ""]
2150    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/close)"]
2151    #[doc = ""]
2152    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2153    pub fn close(this: &Window) -> Result<(), JsValue>;
2154    #[wasm_bindgen(catch, method, js_class = "Window")]
2155    #[doc = "The `confirm()` method."]
2156    #[doc = ""]
2157    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)"]
2158    #[doc = ""]
2159    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2160    pub fn confirm(this: &Window) -> Result<bool, JsValue>;
2161    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "confirm")]
2162    #[doc = "The `confirm()` method."]
2163    #[doc = ""]
2164    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)"]
2165    #[doc = ""]
2166    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2167    pub fn confirm_with_message(this: &Window, message: &str) -> Result<bool, JsValue>;
2168    #[wasm_bindgen(catch, method, js_class = "Window")]
2169    #[doc = "The `focus()` method."]
2170    #[doc = ""]
2171    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/focus)"]
2172    #[doc = ""]
2173    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2174    pub fn focus(this: &Window) -> Result<(), JsValue>;
2175    #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))]
2176    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "getComputedStyle")]
2177    #[doc = "The `getComputedStyle()` method."]
2178    #[doc = ""]
2179    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)"]
2180    #[doc = ""]
2181    #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*"]
2182    pub fn get_computed_style(
2183        this: &Window,
2184        elt: &Element,
2185    ) -> Result<Option<CssStyleDeclaration>, JsValue>;
2186    #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))]
2187    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "getComputedStyle")]
2188    #[doc = "The `getComputedStyle()` method."]
2189    #[doc = ""]
2190    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)"]
2191    #[doc = ""]
2192    #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*"]
2193    pub fn get_computed_style_with_pseudo_elt(
2194        this: &Window,
2195        elt: &Element,
2196        pseudo_elt: &str,
2197    ) -> Result<Option<CssStyleDeclaration>, JsValue>;
2198    #[cfg(web_sys_unstable_apis)]
2199    #[cfg(feature = "ScreenDetails")]
2200    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "getScreenDetails")]
2201    #[doc = "The `getScreenDetails()` method."]
2202    #[doc = ""]
2203    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getScreenDetails)"]
2204    #[doc = ""]
2205    #[doc = "*This API requires the following crate features to be activated: `ScreenDetails`, `Window`*"]
2206    #[doc = ""]
2207    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2208    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2209    pub fn get_screen_details(this: &Window) -> Result<::js_sys::Promise<ScreenDetails>, JsValue>;
2210    #[cfg(feature = "Selection")]
2211    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "getSelection")]
2212    #[doc = "The `getSelection()` method."]
2213    #[doc = ""]
2214    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)"]
2215    #[doc = ""]
2216    #[doc = "*This API requires the following crate features to be activated: `Selection`, `Window`*"]
2217    pub fn get_selection(this: &Window) -> Result<Option<Selection>, JsValue>;
2218    #[cfg(feature = "MediaQueryList")]
2219    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "matchMedia")]
2220    #[doc = "The `matchMedia()` method."]
2221    #[doc = ""]
2222    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)"]
2223    #[doc = ""]
2224    #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`, `Window`*"]
2225    pub fn match_media(this: &Window, query: &str) -> Result<Option<MediaQueryList>, JsValue>;
2226    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "moveBy")]
2227    #[doc = "The `moveBy()` method."]
2228    #[doc = ""]
2229    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy)"]
2230    #[doc = ""]
2231    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2232    pub fn move_by(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2233    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "moveTo")]
2234    #[doc = "The `moveTo()` method."]
2235    #[doc = ""]
2236    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo)"]
2237    #[doc = ""]
2238    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2239    pub fn move_to(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2240    #[wasm_bindgen(catch, method, js_class = "Window")]
2241    #[doc = "The `open()` method."]
2242    #[doc = ""]
2243    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2244    #[doc = ""]
2245    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2246    pub fn open(this: &Window) -> Result<Option<Window>, JsValue>;
2247    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "open")]
2248    #[doc = "The `open()` method."]
2249    #[doc = ""]
2250    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2251    #[doc = ""]
2252    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2253    pub fn open_with_url(this: &Window, url: &str) -> Result<Option<Window>, JsValue>;
2254    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "open")]
2255    #[doc = "The `open()` method."]
2256    #[doc = ""]
2257    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2258    #[doc = ""]
2259    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2260    pub fn open_with_url_and_target(
2261        this: &Window,
2262        url: &str,
2263        target: &str,
2264    ) -> Result<Option<Window>, JsValue>;
2265    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "open")]
2266    #[doc = "The `open()` method."]
2267    #[doc = ""]
2268    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2269    #[doc = ""]
2270    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2271    pub fn open_with_url_and_target_and_features(
2272        this: &Window,
2273        url: &str,
2274        target: &str,
2275        features: &str,
2276    ) -> Result<Option<Window>, JsValue>;
2277    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "postMessage")]
2278    #[doc = "The `postMessage()` method."]
2279    #[doc = ""]
2280    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)"]
2281    #[doc = ""]
2282    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2283    pub fn post_message(
2284        this: &Window,
2285        message: &::wasm_bindgen::JsValue,
2286        target_origin: &str,
2287    ) -> Result<(), JsValue>;
2288    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "postMessage")]
2289    #[doc = "The `postMessage()` method."]
2290    #[doc = ""]
2291    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)"]
2292    #[doc = ""]
2293    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2294    pub fn post_message_with_transfer(
2295        this: &Window,
2296        message: &::wasm_bindgen::JsValue,
2297        target_origin: &str,
2298        transfer: &::wasm_bindgen::JsValue,
2299    ) -> Result<(), JsValue>;
2300    #[wasm_bindgen(catch, method, js_class = "Window")]
2301    #[doc = "The `print()` method."]
2302    #[doc = ""]
2303    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/print)"]
2304    #[doc = ""]
2305    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2306    pub fn print(this: &Window) -> Result<(), JsValue>;
2307    #[wasm_bindgen(catch, method, js_class = "Window")]
2308    #[doc = "The `prompt()` method."]
2309    #[doc = ""]
2310    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
2311    #[doc = ""]
2312    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2313    pub fn prompt(this: &Window) -> Result<Option<::alloc::string::String>, JsValue>;
2314    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "prompt")]
2315    #[doc = "The `prompt()` method."]
2316    #[doc = ""]
2317    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
2318    #[doc = ""]
2319    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2320    pub fn prompt_with_message(
2321        this: &Window,
2322        message: &str,
2323    ) -> Result<Option<::alloc::string::String>, JsValue>;
2324    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "prompt")]
2325    #[doc = "The `prompt()` method."]
2326    #[doc = ""]
2327    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
2328    #[doc = ""]
2329    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2330    pub fn prompt_with_message_and_default(
2331        this: &Window,
2332        message: &str,
2333        default: &str,
2334    ) -> Result<Option<::alloc::string::String>, JsValue>;
2335    #[cfg(web_sys_unstable_apis)]
2336    #[cfg(feature = "FontData")]
2337    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "queryLocalFonts")]
2338    #[doc = "The `queryLocalFonts()` method."]
2339    #[doc = ""]
2340    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queryLocalFonts)"]
2341    #[doc = ""]
2342    #[doc = "*This API requires the following crate features to be activated: `FontData`, `Window`*"]
2343    #[doc = ""]
2344    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2345    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2346    pub fn query_local_fonts(
2347        this: &Window,
2348    ) -> Result<::js_sys::Promise<::js_sys::Array<FontData>>, JsValue>;
2349    #[cfg(web_sys_unstable_apis)]
2350    #[cfg(all(feature = "FontData", feature = "QueryOptions",))]
2351    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "queryLocalFonts")]
2352    #[doc = "The `queryLocalFonts()` method."]
2353    #[doc = ""]
2354    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queryLocalFonts)"]
2355    #[doc = ""]
2356    #[doc = "*This API requires the following crate features to be activated: `FontData`, `QueryOptions`, `Window`*"]
2357    #[doc = ""]
2358    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2359    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2360    pub fn query_local_fonts_with_options(
2361        this: &Window,
2362        options: &QueryOptions,
2363    ) -> Result<::js_sys::Promise<::js_sys::Array<FontData>>, JsValue>;
2364    #[wasm_bindgen(method, js_class = "Window", js_name = "releaseEvents")]
2365    #[doc = "The `releaseEvents()` method."]
2366    #[doc = ""]
2367    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents)"]
2368    #[doc = ""]
2369    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2370    pub fn release_events(this: &Window);
2371    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "requestIdleCallback")]
2372    #[doc = "The `requestIdleCallback()` method."]
2373    #[doc = ""]
2374    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)"]
2375    #[doc = ""]
2376    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2377    pub fn request_idle_callback(
2378        this: &Window,
2379        callback: &::js_sys::Function,
2380    ) -> Result<u32, JsValue>;
2381    #[cfg(feature = "IdleRequestOptions")]
2382    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "requestIdleCallback")]
2383    #[doc = "The `requestIdleCallback()` method."]
2384    #[doc = ""]
2385    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)"]
2386    #[doc = ""]
2387    #[doc = "*This API requires the following crate features to be activated: `IdleRequestOptions`, `Window`*"]
2388    pub fn request_idle_callback_with_options(
2389        this: &Window,
2390        callback: &::js_sys::Function,
2391        options: &IdleRequestOptions,
2392    ) -> Result<u32, JsValue>;
2393    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "resizeBy")]
2394    #[doc = "The `resizeBy()` method."]
2395    #[doc = ""]
2396    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy)"]
2397    #[doc = ""]
2398    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2399    pub fn resize_by(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2400    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "resizeTo")]
2401    #[doc = "The `resizeTo()` method."]
2402    #[doc = ""]
2403    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo)"]
2404    #[doc = ""]
2405    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2406    pub fn resize_to(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2407    #[wasm_bindgen(method, js_class = "Window", js_name = "scroll")]
2408    #[doc = "The `scroll()` method."]
2409    #[doc = ""]
2410    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
2411    #[doc = ""]
2412    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2413    pub fn scroll_with_x_and_y(this: &Window, x: f64, y: f64);
2414    #[wasm_bindgen(method, js_class = "Window")]
2415    #[doc = "The `scroll()` method."]
2416    #[doc = ""]
2417    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
2418    #[doc = ""]
2419    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2420    pub fn scroll(this: &Window);
2421    #[cfg(feature = "ScrollToOptions")]
2422    #[wasm_bindgen(method, js_class = "Window", js_name = "scroll")]
2423    #[doc = "The `scroll()` method."]
2424    #[doc = ""]
2425    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
2426    #[doc = ""]
2427    #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
2428    pub fn scroll_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
2429    #[wasm_bindgen(method, js_class = "Window", js_name = "scrollBy")]
2430    #[doc = "The `scrollBy()` method."]
2431    #[doc = ""]
2432    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
2433    #[doc = ""]
2434    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2435    pub fn scroll_by_with_x_and_y(this: &Window, x: f64, y: f64);
2436    #[wasm_bindgen(method, js_class = "Window", js_name = "scrollBy")]
2437    #[doc = "The `scrollBy()` method."]
2438    #[doc = ""]
2439    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
2440    #[doc = ""]
2441    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2442    pub fn scroll_by(this: &Window);
2443    #[cfg(feature = "ScrollToOptions")]
2444    #[wasm_bindgen(method, js_class = "Window", js_name = "scrollBy")]
2445    #[doc = "The `scrollBy()` method."]
2446    #[doc = ""]
2447    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
2448    #[doc = ""]
2449    #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
2450    pub fn scroll_by_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
2451    #[wasm_bindgen(method, js_class = "Window", js_name = "scrollTo")]
2452    #[doc = "The `scrollTo()` method."]
2453    #[doc = ""]
2454    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
2455    #[doc = ""]
2456    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2457    pub fn scroll_to_with_x_and_y(this: &Window, x: f64, y: f64);
2458    #[wasm_bindgen(method, js_class = "Window", js_name = "scrollTo")]
2459    #[doc = "The `scrollTo()` method."]
2460    #[doc = ""]
2461    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
2462    #[doc = ""]
2463    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2464    pub fn scroll_to(this: &Window);
2465    #[cfg(feature = "ScrollToOptions")]
2466    #[wasm_bindgen(method, js_class = "Window", js_name = "scrollTo")]
2467    #[doc = "The `scrollTo()` method."]
2468    #[doc = ""]
2469    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
2470    #[doc = ""]
2471    #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
2472    pub fn scroll_to_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
2473    #[cfg(web_sys_unstable_apis)]
2474    #[cfg(feature = "FileSystemDirectoryHandle")]
2475    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "showDirectoryPicker")]
2476    #[doc = "The `showDirectoryPicker()` method."]
2477    #[doc = ""]
2478    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showDirectoryPicker)"]
2479    #[doc = ""]
2480    #[doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `Window`*"]
2481    #[doc = ""]
2482    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2483    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2484    pub fn show_directory_picker(
2485        this: &Window,
2486    ) -> Result<::js_sys::Promise<FileSystemDirectoryHandle>, JsValue>;
2487    #[cfg(web_sys_unstable_apis)]
2488    #[cfg(all(
2489        feature = "DirectoryPickerOptions",
2490        feature = "FileSystemDirectoryHandle",
2491    ))]
2492    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "showDirectoryPicker")]
2493    #[doc = "The `showDirectoryPicker()` method."]
2494    #[doc = ""]
2495    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showDirectoryPicker)"]
2496    #[doc = ""]
2497    #[doc = "*This API requires the following crate features to be activated: `DirectoryPickerOptions`, `FileSystemDirectoryHandle`, `Window`*"]
2498    #[doc = ""]
2499    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2500    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2501    pub fn show_directory_picker_with_options(
2502        this: &Window,
2503        options: &DirectoryPickerOptions,
2504    ) -> Result<::js_sys::Promise<FileSystemDirectoryHandle>, JsValue>;
2505    #[cfg(web_sys_unstable_apis)]
2506    #[cfg(feature = "FileSystemFileHandle")]
2507    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "showOpenFilePicker")]
2508    #[doc = "The `showOpenFilePicker()` method."]
2509    #[doc = ""]
2510    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker)"]
2511    #[doc = ""]
2512    #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`, `Window`*"]
2513    #[doc = ""]
2514    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2515    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2516    pub fn show_open_file_picker(
2517        this: &Window,
2518    ) -> Result<::js_sys::Promise<::js_sys::Array<FileSystemFileHandle>>, JsValue>;
2519    #[cfg(web_sys_unstable_apis)]
2520    #[cfg(all(feature = "FileSystemFileHandle", feature = "OpenFilePickerOptions",))]
2521    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "showOpenFilePicker")]
2522    #[doc = "The `showOpenFilePicker()` method."]
2523    #[doc = ""]
2524    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker)"]
2525    #[doc = ""]
2526    #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`, `OpenFilePickerOptions`, `Window`*"]
2527    #[doc = ""]
2528    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2529    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2530    pub fn show_open_file_picker_with_options(
2531        this: &Window,
2532        options: &OpenFilePickerOptions,
2533    ) -> Result<::js_sys::Promise<::js_sys::Array<FileSystemFileHandle>>, JsValue>;
2534    #[cfg(web_sys_unstable_apis)]
2535    #[cfg(feature = "FileSystemFileHandle")]
2536    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "showSaveFilePicker")]
2537    #[doc = "The `showSaveFilePicker()` method."]
2538    #[doc = ""]
2539    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker)"]
2540    #[doc = ""]
2541    #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`, `Window`*"]
2542    #[doc = ""]
2543    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2544    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2545    pub fn show_save_file_picker(
2546        this: &Window,
2547    ) -> Result<::js_sys::Promise<FileSystemFileHandle>, JsValue>;
2548    #[cfg(web_sys_unstable_apis)]
2549    #[cfg(all(feature = "FileSystemFileHandle", feature = "SaveFilePickerOptions",))]
2550    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "showSaveFilePicker")]
2551    #[doc = "The `showSaveFilePicker()` method."]
2552    #[doc = ""]
2553    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker)"]
2554    #[doc = ""]
2555    #[doc = "*This API requires the following crate features to be activated: `FileSystemFileHandle`, `SaveFilePickerOptions`, `Window`*"]
2556    #[doc = ""]
2557    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2558    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2559    pub fn show_save_file_picker_with_options(
2560        this: &Window,
2561        options: &SaveFilePickerOptions,
2562    ) -> Result<::js_sys::Promise<FileSystemFileHandle>, JsValue>;
2563    #[wasm_bindgen(catch, method, js_class = "Window")]
2564    #[doc = "The `stop()` method."]
2565    #[doc = ""]
2566    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/stop)"]
2567    #[doc = ""]
2568    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2569    pub fn stop(this: &Window) -> Result<(), JsValue>;
2570    #[wasm_bindgen(method, js_class = "Window", indexing_getter)]
2571    #[doc = "Indexing getter. As in the literal Javascript `this[key]`."]
2572    #[doc = ""]
2573    #[doc = ""]
2574    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2575    pub fn get(this: &Window, name: &str) -> Option<::js_sys::Object>;
2576    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "cancelAnimationFrame")]
2577    #[doc = "The `cancelAnimationFrame()` method."]
2578    #[doc = ""]
2579    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame)"]
2580    #[doc = ""]
2581    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2582    pub fn cancel_animation_frame(this: &Window, handle: i32) -> Result<(), JsValue>;
2583    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "requestAnimationFrame")]
2584    #[doc = "The `requestAnimationFrame()` method."]
2585    #[doc = ""]
2586    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)"]
2587    #[doc = ""]
2588    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2589    pub fn request_animation_frame(
2590        this: &Window,
2591        callback: &::js_sys::Function,
2592    ) -> Result<i32, JsValue>;
2593    #[wasm_bindgen(catch, method, js_class = "Window")]
2594    #[doc = "The `atob()` method."]
2595    #[doc = ""]
2596    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/atob)"]
2597    #[doc = ""]
2598    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2599    pub fn atob(this: &Window, atob: &str) -> Result<::alloc::string::String, JsValue>;
2600    #[wasm_bindgen(catch, method, js_class = "Window")]
2601    #[doc = "The `btoa()` method."]
2602    #[doc = ""]
2603    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa)"]
2604    #[doc = ""]
2605    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2606    pub fn btoa(this: &Window, btoa: &str) -> Result<::alloc::string::String, JsValue>;
2607    #[wasm_bindgen(method, js_class = "Window", js_name = "clearInterval")]
2608    #[doc = "The `clearInterval()` method."]
2609    #[doc = ""]
2610    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)"]
2611    #[doc = ""]
2612    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2613    pub fn clear_interval(this: &Window);
2614    #[wasm_bindgen(method, js_class = "Window", js_name = "clearInterval")]
2615    #[doc = "The `clearInterval()` method."]
2616    #[doc = ""]
2617    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)"]
2618    #[doc = ""]
2619    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2620    pub fn clear_interval_with_handle(this: &Window, handle: i32);
2621    #[wasm_bindgen(method, js_class = "Window", js_name = "clearTimeout")]
2622    #[doc = "The `clearTimeout()` method."]
2623    #[doc = ""]
2624    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)"]
2625    #[doc = ""]
2626    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2627    pub fn clear_timeout(this: &Window);
2628    #[wasm_bindgen(method, js_class = "Window", js_name = "clearTimeout")]
2629    #[doc = "The `clearTimeout()` method."]
2630    #[doc = ""]
2631    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)"]
2632    #[doc = ""]
2633    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2634    pub fn clear_timeout_with_handle(this: &Window, handle: i32);
2635    #[cfg(feature = "HtmlImageElement")]
2636    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2637    #[doc = "The `createImageBitmap()` method."]
2638    #[doc = ""]
2639    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2640    #[doc = ""]
2641    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*"]
2642    pub fn create_image_bitmap_with_html_image_element(
2643        this: &Window,
2644        a_image: &HtmlImageElement,
2645    ) -> Result<::js_sys::Promise, JsValue>;
2646    #[cfg(feature = "SvgImageElement")]
2647    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2648    #[doc = "The `createImageBitmap()` method."]
2649    #[doc = ""]
2650    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2651    #[doc = ""]
2652    #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `Window`*"]
2653    pub fn create_image_bitmap_with_svg_image_element(
2654        this: &Window,
2655        a_image: &SvgImageElement,
2656    ) -> Result<::js_sys::Promise, JsValue>;
2657    #[cfg(feature = "HtmlCanvasElement")]
2658    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2659    #[doc = "The `createImageBitmap()` method."]
2660    #[doc = ""]
2661    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2662    #[doc = ""]
2663    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*"]
2664    pub fn create_image_bitmap_with_html_canvas_element(
2665        this: &Window,
2666        a_image: &HtmlCanvasElement,
2667    ) -> Result<::js_sys::Promise, JsValue>;
2668    #[cfg(feature = "HtmlVideoElement")]
2669    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2670    #[doc = "The `createImageBitmap()` method."]
2671    #[doc = ""]
2672    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2673    #[doc = ""]
2674    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*"]
2675    pub fn create_image_bitmap_with_html_video_element(
2676        this: &Window,
2677        a_image: &HtmlVideoElement,
2678    ) -> Result<::js_sys::Promise, JsValue>;
2679    #[cfg(feature = "ImageBitmap")]
2680    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2681    #[doc = "The `createImageBitmap()` method."]
2682    #[doc = ""]
2683    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2684    #[doc = ""]
2685    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*"]
2686    pub fn create_image_bitmap_with_image_bitmap(
2687        this: &Window,
2688        a_image: &ImageBitmap,
2689    ) -> Result<::js_sys::Promise, JsValue>;
2690    #[cfg(feature = "OffscreenCanvas")]
2691    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2692    #[doc = "The `createImageBitmap()` method."]
2693    #[doc = ""]
2694    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2695    #[doc = ""]
2696    #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `Window`*"]
2697    pub fn create_image_bitmap_with_offscreen_canvas(
2698        this: &Window,
2699        a_image: &OffscreenCanvas,
2700    ) -> Result<::js_sys::Promise, JsValue>;
2701    #[cfg(all(feature = "ImageBitmap", feature = "VideoFrame",))]
2702    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2703    #[doc = "The `createImageBitmap()` method."]
2704    #[doc = ""]
2705    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2706    #[doc = ""]
2707    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `VideoFrame`, `Window`*"]
2708    pub fn create_image_bitmap_with_video_frame(
2709        this: &Window,
2710        a_image: &VideoFrame,
2711    ) -> Result<::js_sys::Promise<ImageBitmap>, JsValue>;
2712    #[cfg(feature = "Blob")]
2713    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2714    #[doc = "The `createImageBitmap()` method."]
2715    #[doc = ""]
2716    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2717    #[doc = ""]
2718    #[doc = "*This API requires the following crate features to be activated: `Blob`, `Window`*"]
2719    pub fn create_image_bitmap_with_blob(
2720        this: &Window,
2721        a_image: &Blob,
2722    ) -> Result<::js_sys::Promise, JsValue>;
2723    #[cfg(feature = "ImageData")]
2724    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2725    #[doc = "The `createImageBitmap()` method."]
2726    #[doc = ""]
2727    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2728    #[doc = ""]
2729    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `Window`*"]
2730    pub fn create_image_bitmap_with_image_data(
2731        this: &Window,
2732        a_image: &ImageData,
2733    ) -> Result<::js_sys::Promise, JsValue>;
2734    #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
2735    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2736    #[doc = "The `createImageBitmap()` method."]
2737    #[doc = ""]
2738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2739    #[doc = ""]
2740    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `Window`*"]
2741    pub fn create_image_bitmap_with_html_image_element_and_image_bitmap_options(
2742        this: &Window,
2743        a_image: &HtmlImageElement,
2744        a_options: &ImageBitmapOptions,
2745    ) -> Result<::js_sys::Promise, JsValue>;
2746    #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
2747    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2748    #[doc = "The `createImageBitmap()` method."]
2749    #[doc = ""]
2750    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2751    #[doc = ""]
2752    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `Window`*"]
2753    pub fn create_image_bitmap_with_svg_image_element_and_image_bitmap_options(
2754        this: &Window,
2755        a_image: &SvgImageElement,
2756        a_options: &ImageBitmapOptions,
2757    ) -> Result<::js_sys::Promise, JsValue>;
2758    #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
2759    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2760    #[doc = "The `createImageBitmap()` method."]
2761    #[doc = ""]
2762    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2763    #[doc = ""]
2764    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `Window`*"]
2765    pub fn create_image_bitmap_with_html_canvas_element_and_image_bitmap_options(
2766        this: &Window,
2767        a_image: &HtmlCanvasElement,
2768        a_options: &ImageBitmapOptions,
2769    ) -> Result<::js_sys::Promise, JsValue>;
2770    #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
2771    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2772    #[doc = "The `createImageBitmap()` method."]
2773    #[doc = ""]
2774    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2775    #[doc = ""]
2776    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `Window`*"]
2777    pub fn create_image_bitmap_with_html_video_element_and_image_bitmap_options(
2778        this: &Window,
2779        a_image: &HtmlVideoElement,
2780        a_options: &ImageBitmapOptions,
2781    ) -> Result<::js_sys::Promise, JsValue>;
2782    #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
2783    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2784    #[doc = "The `createImageBitmap()` method."]
2785    #[doc = ""]
2786    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2787    #[doc = ""]
2788    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `Window`*"]
2789    pub fn create_image_bitmap_with_image_bitmap_and_image_bitmap_options(
2790        this: &Window,
2791        a_image: &ImageBitmap,
2792        a_options: &ImageBitmapOptions,
2793    ) -> Result<::js_sys::Promise, JsValue>;
2794    #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
2795    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2796    #[doc = "The `createImageBitmap()` method."]
2797    #[doc = ""]
2798    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2799    #[doc = ""]
2800    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `Window`*"]
2801    pub fn create_image_bitmap_with_offscreen_canvas_and_image_bitmap_options(
2802        this: &Window,
2803        a_image: &OffscreenCanvas,
2804        a_options: &ImageBitmapOptions,
2805    ) -> Result<::js_sys::Promise, JsValue>;
2806    #[cfg(all(
2807        feature = "ImageBitmap",
2808        feature = "ImageBitmapOptions",
2809        feature = "VideoFrame",
2810    ))]
2811    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2812    #[doc = "The `createImageBitmap()` method."]
2813    #[doc = ""]
2814    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2815    #[doc = ""]
2816    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `VideoFrame`, `Window`*"]
2817    pub fn create_image_bitmap_with_video_frame_and_image_bitmap_options(
2818        this: &Window,
2819        a_image: &VideoFrame,
2820        a_options: &ImageBitmapOptions,
2821    ) -> Result<::js_sys::Promise<ImageBitmap>, JsValue>;
2822    #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
2823    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2824    #[doc = "The `createImageBitmap()` method."]
2825    #[doc = ""]
2826    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2827    #[doc = ""]
2828    #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `Window`*"]
2829    pub fn create_image_bitmap_with_blob_and_image_bitmap_options(
2830        this: &Window,
2831        a_image: &Blob,
2832        a_options: &ImageBitmapOptions,
2833    ) -> Result<::js_sys::Promise, JsValue>;
2834    #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
2835    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2836    #[doc = "The `createImageBitmap()` method."]
2837    #[doc = ""]
2838    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2839    #[doc = ""]
2840    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `Window`*"]
2841    pub fn create_image_bitmap_with_image_data_and_image_bitmap_options(
2842        this: &Window,
2843        a_image: &ImageData,
2844        a_options: &ImageBitmapOptions,
2845    ) -> Result<::js_sys::Promise, JsValue>;
2846    #[cfg(feature = "HtmlImageElement")]
2847    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2848    #[doc = "The `createImageBitmap()` method."]
2849    #[doc = ""]
2850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2851    #[doc = ""]
2852    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*"]
2853    pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2854        this: &Window,
2855        a_image: &HtmlImageElement,
2856        a_sx: i32,
2857        a_sy: i32,
2858        a_sw: i32,
2859        a_sh: i32,
2860    ) -> Result<::js_sys::Promise, JsValue>;
2861    #[cfg(feature = "SvgImageElement")]
2862    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2863    #[doc = "The `createImageBitmap()` method."]
2864    #[doc = ""]
2865    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2866    #[doc = ""]
2867    #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `Window`*"]
2868    pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2869        this: &Window,
2870        a_image: &SvgImageElement,
2871        a_sx: i32,
2872        a_sy: i32,
2873        a_sw: i32,
2874        a_sh: i32,
2875    ) -> Result<::js_sys::Promise, JsValue>;
2876    #[cfg(feature = "HtmlCanvasElement")]
2877    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2878    #[doc = "The `createImageBitmap()` method."]
2879    #[doc = ""]
2880    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2881    #[doc = ""]
2882    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*"]
2883    pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2884        this: &Window,
2885        a_image: &HtmlCanvasElement,
2886        a_sx: i32,
2887        a_sy: i32,
2888        a_sw: i32,
2889        a_sh: i32,
2890    ) -> Result<::js_sys::Promise, JsValue>;
2891    #[cfg(feature = "HtmlVideoElement")]
2892    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2893    #[doc = "The `createImageBitmap()` method."]
2894    #[doc = ""]
2895    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2896    #[doc = ""]
2897    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*"]
2898    pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2899        this: &Window,
2900        a_image: &HtmlVideoElement,
2901        a_sx: i32,
2902        a_sy: i32,
2903        a_sw: i32,
2904        a_sh: i32,
2905    ) -> Result<::js_sys::Promise, JsValue>;
2906    #[cfg(feature = "ImageBitmap")]
2907    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2908    #[doc = "The `createImageBitmap()` method."]
2909    #[doc = ""]
2910    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2911    #[doc = ""]
2912    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*"]
2913    pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2914        this: &Window,
2915        a_image: &ImageBitmap,
2916        a_sx: i32,
2917        a_sy: i32,
2918        a_sw: i32,
2919        a_sh: i32,
2920    ) -> Result<::js_sys::Promise, JsValue>;
2921    #[cfg(feature = "OffscreenCanvas")]
2922    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2923    #[doc = "The `createImageBitmap()` method."]
2924    #[doc = ""]
2925    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2926    #[doc = ""]
2927    #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `Window`*"]
2928    pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2929        this: &Window,
2930        a_image: &OffscreenCanvas,
2931        a_sx: i32,
2932        a_sy: i32,
2933        a_sw: i32,
2934        a_sh: i32,
2935    ) -> Result<::js_sys::Promise, JsValue>;
2936    #[cfg(all(feature = "ImageBitmap", feature = "VideoFrame",))]
2937    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2938    #[doc = "The `createImageBitmap()` method."]
2939    #[doc = ""]
2940    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2941    #[doc = ""]
2942    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `VideoFrame`, `Window`*"]
2943    pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2944        this: &Window,
2945        a_image: &VideoFrame,
2946        a_sx: i32,
2947        a_sy: i32,
2948        a_sw: i32,
2949        a_sh: i32,
2950    ) -> Result<::js_sys::Promise<ImageBitmap>, JsValue>;
2951    #[cfg(feature = "Blob")]
2952    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2953    #[doc = "The `createImageBitmap()` method."]
2954    #[doc = ""]
2955    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2956    #[doc = ""]
2957    #[doc = "*This API requires the following crate features to be activated: `Blob`, `Window`*"]
2958    pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2959        this: &Window,
2960        a_image: &Blob,
2961        a_sx: i32,
2962        a_sy: i32,
2963        a_sw: i32,
2964        a_sh: i32,
2965    ) -> Result<::js_sys::Promise, JsValue>;
2966    #[cfg(feature = "ImageData")]
2967    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2968    #[doc = "The `createImageBitmap()` method."]
2969    #[doc = ""]
2970    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2971    #[doc = ""]
2972    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `Window`*"]
2973    pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2974        this: &Window,
2975        a_image: &ImageData,
2976        a_sx: i32,
2977        a_sy: i32,
2978        a_sw: i32,
2979        a_sh: i32,
2980    ) -> Result<::js_sys::Promise, JsValue>;
2981    #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
2982    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2983    #[doc = "The `createImageBitmap()` method."]
2984    #[doc = ""]
2985    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2986    #[doc = ""]
2987    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `Window`*"]
2988    pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2989        this: &Window,
2990        a_image: &HtmlImageElement,
2991        a_sx: i32,
2992        a_sy: i32,
2993        a_sw: i32,
2994        a_sh: i32,
2995        a_options: &ImageBitmapOptions,
2996    ) -> Result<::js_sys::Promise, JsValue>;
2997    #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
2998    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
2999    #[doc = "The `createImageBitmap()` method."]
3000    #[doc = ""]
3001    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3002    #[doc = ""]
3003    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `Window`*"]
3004    pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3005        this: &Window,
3006        a_image: &SvgImageElement,
3007        a_sx: i32,
3008        a_sy: i32,
3009        a_sw: i32,
3010        a_sh: i32,
3011        a_options: &ImageBitmapOptions,
3012    ) -> Result<::js_sys::Promise, JsValue>;
3013    #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
3014    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3015    #[doc = "The `createImageBitmap()` method."]
3016    #[doc = ""]
3017    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3018    #[doc = ""]
3019    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `Window`*"]
3020    pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3021        this: &Window,
3022        a_image: &HtmlCanvasElement,
3023        a_sx: i32,
3024        a_sy: i32,
3025        a_sw: i32,
3026        a_sh: i32,
3027        a_options: &ImageBitmapOptions,
3028    ) -> Result<::js_sys::Promise, JsValue>;
3029    #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
3030    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3031    #[doc = "The `createImageBitmap()` method."]
3032    #[doc = ""]
3033    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3034    #[doc = ""]
3035    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `Window`*"]
3036    pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3037        this: &Window,
3038        a_image: &HtmlVideoElement,
3039        a_sx: i32,
3040        a_sy: i32,
3041        a_sw: i32,
3042        a_sh: i32,
3043        a_options: &ImageBitmapOptions,
3044    ) -> Result<::js_sys::Promise, JsValue>;
3045    #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
3046    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3047    #[doc = "The `createImageBitmap()` method."]
3048    #[doc = ""]
3049    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3050    #[doc = ""]
3051    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `Window`*"]
3052    pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3053        this: &Window,
3054        a_image: &ImageBitmap,
3055        a_sx: i32,
3056        a_sy: i32,
3057        a_sw: i32,
3058        a_sh: i32,
3059        a_options: &ImageBitmapOptions,
3060    ) -> Result<::js_sys::Promise, JsValue>;
3061    #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
3062    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3063    #[doc = "The `createImageBitmap()` method."]
3064    #[doc = ""]
3065    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3066    #[doc = ""]
3067    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `Window`*"]
3068    pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3069        this: &Window,
3070        a_image: &OffscreenCanvas,
3071        a_sx: i32,
3072        a_sy: i32,
3073        a_sw: i32,
3074        a_sh: i32,
3075        a_options: &ImageBitmapOptions,
3076    ) -> Result<::js_sys::Promise, JsValue>;
3077    #[cfg(all(
3078        feature = "ImageBitmap",
3079        feature = "ImageBitmapOptions",
3080        feature = "VideoFrame",
3081    ))]
3082    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3083    #[doc = "The `createImageBitmap()` method."]
3084    #[doc = ""]
3085    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3086    #[doc = ""]
3087    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `VideoFrame`, `Window`*"]
3088    pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3089        this: &Window,
3090        a_image: &VideoFrame,
3091        a_sx: i32,
3092        a_sy: i32,
3093        a_sw: i32,
3094        a_sh: i32,
3095        a_options: &ImageBitmapOptions,
3096    ) -> Result<::js_sys::Promise<ImageBitmap>, JsValue>;
3097    #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
3098    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3099    #[doc = "The `createImageBitmap()` method."]
3100    #[doc = ""]
3101    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3102    #[doc = ""]
3103    #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `Window`*"]
3104    pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3105        this: &Window,
3106        a_image: &Blob,
3107        a_sx: i32,
3108        a_sy: i32,
3109        a_sw: i32,
3110        a_sh: i32,
3111        a_options: &ImageBitmapOptions,
3112    ) -> Result<::js_sys::Promise, JsValue>;
3113    #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
3114    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "createImageBitmap")]
3115    #[doc = "The `createImageBitmap()` method."]
3116    #[doc = ""]
3117    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3118    #[doc = ""]
3119    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `Window`*"]
3120    pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3121        this: &Window,
3122        a_image: &ImageData,
3123        a_sx: i32,
3124        a_sy: i32,
3125        a_sw: i32,
3126        a_sh: i32,
3127        a_options: &ImageBitmapOptions,
3128    ) -> Result<::js_sys::Promise, JsValue>;
3129    #[cfg(feature = "Request")]
3130    #[wasm_bindgen(method, js_class = "Window", js_name = "fetch")]
3131    #[doc = "The `fetch()` method."]
3132    #[doc = ""]
3133    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3134    #[doc = ""]
3135    #[doc = "*This API requires the following crate features to be activated: `Request`, `Window`*"]
3136    pub fn fetch_with_request(this: &Window, input: &Request) -> ::js_sys::Promise;
3137    #[wasm_bindgen(method, js_class = "Window", js_name = "fetch")]
3138    #[doc = "The `fetch()` method."]
3139    #[doc = ""]
3140    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3141    #[doc = ""]
3142    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3143    pub fn fetch_with_str(this: &Window, input: &str) -> ::js_sys::Promise;
3144    #[cfg(all(feature = "Request", feature = "RequestInit",))]
3145    #[wasm_bindgen(method, js_class = "Window", js_name = "fetch")]
3146    #[doc = "The `fetch()` method."]
3147    #[doc = ""]
3148    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3149    #[doc = ""]
3150    #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`, `Window`*"]
3151    pub fn fetch_with_request_and_init(
3152        this: &Window,
3153        input: &Request,
3154        init: &RequestInit,
3155    ) -> ::js_sys::Promise;
3156    #[cfg(feature = "RequestInit")]
3157    #[wasm_bindgen(method, js_class = "Window", js_name = "fetch")]
3158    #[doc = "The `fetch()` method."]
3159    #[doc = ""]
3160    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3161    #[doc = ""]
3162    #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `Window`*"]
3163    pub fn fetch_with_str_and_init(
3164        this: &Window,
3165        input: &str,
3166        init: &RequestInit,
3167    ) -> ::js_sys::Promise;
3168    #[wasm_bindgen(method, js_class = "Window", js_name = "queueMicrotask")]
3169    #[doc = "The `queueMicrotask()` method."]
3170    #[doc = ""]
3171    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queueMicrotask)"]
3172    #[doc = ""]
3173    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3174    pub fn queue_microtask(this: &Window, callback: &::js_sys::Function);
3175    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3176    #[doc = "The `setInterval()` method."]
3177    #[doc = ""]
3178    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3179    #[doc = ""]
3180    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3181    pub fn set_interval_with_callback(
3182        this: &Window,
3183        handler: &::js_sys::Function,
3184    ) -> Result<i32, JsValue>;
3185    #[wasm_bindgen(catch, method, variadic, js_class = "Window", js_name = "setInterval")]
3186    #[doc = "The `setInterval()` method."]
3187    #[doc = ""]
3188    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3189    #[doc = ""]
3190    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3191    pub fn set_interval_with_callback_and_timeout_and_arguments(
3192        this: &Window,
3193        handler: &::js_sys::Function,
3194        timeout: i32,
3195        arguments: &::js_sys::Array,
3196    ) -> Result<i32, JsValue>;
3197    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3198    #[doc = "The `setInterval()` method."]
3199    #[doc = ""]
3200    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3201    #[doc = ""]
3202    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3203    pub fn set_interval_with_callback_and_timeout_and_arguments_0(
3204        this: &Window,
3205        handler: &::js_sys::Function,
3206        timeout: i32,
3207    ) -> Result<i32, JsValue>;
3208    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3209    #[doc = "The `setInterval()` method."]
3210    #[doc = ""]
3211    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3212    #[doc = ""]
3213    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3214    pub fn set_interval_with_callback_and_timeout_and_arguments_1(
3215        this: &Window,
3216        handler: &::js_sys::Function,
3217        timeout: i32,
3218        arguments_1: &::wasm_bindgen::JsValue,
3219    ) -> Result<i32, JsValue>;
3220    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3221    #[doc = "The `setInterval()` method."]
3222    #[doc = ""]
3223    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3224    #[doc = ""]
3225    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3226    pub fn set_interval_with_callback_and_timeout_and_arguments_2(
3227        this: &Window,
3228        handler: &::js_sys::Function,
3229        timeout: i32,
3230        arguments_1: &::wasm_bindgen::JsValue,
3231        arguments_2: &::wasm_bindgen::JsValue,
3232    ) -> Result<i32, JsValue>;
3233    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3234    #[doc = "The `setInterval()` method."]
3235    #[doc = ""]
3236    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3237    #[doc = ""]
3238    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3239    pub fn set_interval_with_callback_and_timeout_and_arguments_3(
3240        this: &Window,
3241        handler: &::js_sys::Function,
3242        timeout: i32,
3243        arguments_1: &::wasm_bindgen::JsValue,
3244        arguments_2: &::wasm_bindgen::JsValue,
3245        arguments_3: &::wasm_bindgen::JsValue,
3246    ) -> Result<i32, JsValue>;
3247    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3248    #[doc = "The `setInterval()` method."]
3249    #[doc = ""]
3250    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3251    #[doc = ""]
3252    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3253    pub fn set_interval_with_callback_and_timeout_and_arguments_4(
3254        this: &Window,
3255        handler: &::js_sys::Function,
3256        timeout: i32,
3257        arguments_1: &::wasm_bindgen::JsValue,
3258        arguments_2: &::wasm_bindgen::JsValue,
3259        arguments_3: &::wasm_bindgen::JsValue,
3260        arguments_4: &::wasm_bindgen::JsValue,
3261    ) -> Result<i32, JsValue>;
3262    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3263    #[doc = "The `setInterval()` method."]
3264    #[doc = ""]
3265    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3266    #[doc = ""]
3267    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3268    pub fn set_interval_with_callback_and_timeout_and_arguments_5(
3269        this: &Window,
3270        handler: &::js_sys::Function,
3271        timeout: i32,
3272        arguments_1: &::wasm_bindgen::JsValue,
3273        arguments_2: &::wasm_bindgen::JsValue,
3274        arguments_3: &::wasm_bindgen::JsValue,
3275        arguments_4: &::wasm_bindgen::JsValue,
3276        arguments_5: &::wasm_bindgen::JsValue,
3277    ) -> Result<i32, JsValue>;
3278    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3279    #[doc = "The `setInterval()` method."]
3280    #[doc = ""]
3281    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3282    #[doc = ""]
3283    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3284    pub fn set_interval_with_callback_and_timeout_and_arguments_6(
3285        this: &Window,
3286        handler: &::js_sys::Function,
3287        timeout: i32,
3288        arguments_1: &::wasm_bindgen::JsValue,
3289        arguments_2: &::wasm_bindgen::JsValue,
3290        arguments_3: &::wasm_bindgen::JsValue,
3291        arguments_4: &::wasm_bindgen::JsValue,
3292        arguments_5: &::wasm_bindgen::JsValue,
3293        arguments_6: &::wasm_bindgen::JsValue,
3294    ) -> Result<i32, JsValue>;
3295    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3296    #[doc = "The `setInterval()` method."]
3297    #[doc = ""]
3298    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3299    #[doc = ""]
3300    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3301    pub fn set_interval_with_callback_and_timeout_and_arguments_7(
3302        this: &Window,
3303        handler: &::js_sys::Function,
3304        timeout: i32,
3305        arguments_1: &::wasm_bindgen::JsValue,
3306        arguments_2: &::wasm_bindgen::JsValue,
3307        arguments_3: &::wasm_bindgen::JsValue,
3308        arguments_4: &::wasm_bindgen::JsValue,
3309        arguments_5: &::wasm_bindgen::JsValue,
3310        arguments_6: &::wasm_bindgen::JsValue,
3311        arguments_7: &::wasm_bindgen::JsValue,
3312    ) -> Result<i32, JsValue>;
3313    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3314    #[doc = "The `setInterval()` method."]
3315    #[doc = ""]
3316    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3317    #[doc = ""]
3318    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3319    pub fn set_interval_with_str(this: &Window, handler: &str) -> Result<i32, JsValue>;
3320    #[wasm_bindgen(catch, method, variadic, js_class = "Window", js_name = "setInterval")]
3321    #[doc = "The `setInterval()` method."]
3322    #[doc = ""]
3323    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3324    #[doc = ""]
3325    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3326    pub fn set_interval_with_str_and_timeout_and_unused(
3327        this: &Window,
3328        handler: &str,
3329        timeout: i32,
3330        unused: &::js_sys::Array,
3331    ) -> Result<i32, JsValue>;
3332    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3333    #[doc = "The `setInterval()` method."]
3334    #[doc = ""]
3335    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3336    #[doc = ""]
3337    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3338    pub fn set_interval_with_str_and_timeout_and_unused_0(
3339        this: &Window,
3340        handler: &str,
3341        timeout: i32,
3342    ) -> Result<i32, JsValue>;
3343    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3344    #[doc = "The `setInterval()` method."]
3345    #[doc = ""]
3346    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3347    #[doc = ""]
3348    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3349    pub fn set_interval_with_str_and_timeout_and_unused_1(
3350        this: &Window,
3351        handler: &str,
3352        timeout: i32,
3353        unused_1: &::wasm_bindgen::JsValue,
3354    ) -> Result<i32, JsValue>;
3355    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3356    #[doc = "The `setInterval()` method."]
3357    #[doc = ""]
3358    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3359    #[doc = ""]
3360    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3361    pub fn set_interval_with_str_and_timeout_and_unused_2(
3362        this: &Window,
3363        handler: &str,
3364        timeout: i32,
3365        unused_1: &::wasm_bindgen::JsValue,
3366        unused_2: &::wasm_bindgen::JsValue,
3367    ) -> Result<i32, JsValue>;
3368    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3369    #[doc = "The `setInterval()` method."]
3370    #[doc = ""]
3371    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3372    #[doc = ""]
3373    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3374    pub fn set_interval_with_str_and_timeout_and_unused_3(
3375        this: &Window,
3376        handler: &str,
3377        timeout: i32,
3378        unused_1: &::wasm_bindgen::JsValue,
3379        unused_2: &::wasm_bindgen::JsValue,
3380        unused_3: &::wasm_bindgen::JsValue,
3381    ) -> Result<i32, JsValue>;
3382    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3383    #[doc = "The `setInterval()` method."]
3384    #[doc = ""]
3385    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3386    #[doc = ""]
3387    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3388    pub fn set_interval_with_str_and_timeout_and_unused_4(
3389        this: &Window,
3390        handler: &str,
3391        timeout: i32,
3392        unused_1: &::wasm_bindgen::JsValue,
3393        unused_2: &::wasm_bindgen::JsValue,
3394        unused_3: &::wasm_bindgen::JsValue,
3395        unused_4: &::wasm_bindgen::JsValue,
3396    ) -> Result<i32, JsValue>;
3397    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3398    #[doc = "The `setInterval()` method."]
3399    #[doc = ""]
3400    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3401    #[doc = ""]
3402    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3403    pub fn set_interval_with_str_and_timeout_and_unused_5(
3404        this: &Window,
3405        handler: &str,
3406        timeout: i32,
3407        unused_1: &::wasm_bindgen::JsValue,
3408        unused_2: &::wasm_bindgen::JsValue,
3409        unused_3: &::wasm_bindgen::JsValue,
3410        unused_4: &::wasm_bindgen::JsValue,
3411        unused_5: &::wasm_bindgen::JsValue,
3412    ) -> Result<i32, JsValue>;
3413    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3414    #[doc = "The `setInterval()` method."]
3415    #[doc = ""]
3416    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3417    #[doc = ""]
3418    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3419    pub fn set_interval_with_str_and_timeout_and_unused_6(
3420        this: &Window,
3421        handler: &str,
3422        timeout: i32,
3423        unused_1: &::wasm_bindgen::JsValue,
3424        unused_2: &::wasm_bindgen::JsValue,
3425        unused_3: &::wasm_bindgen::JsValue,
3426        unused_4: &::wasm_bindgen::JsValue,
3427        unused_5: &::wasm_bindgen::JsValue,
3428        unused_6: &::wasm_bindgen::JsValue,
3429    ) -> Result<i32, JsValue>;
3430    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setInterval")]
3431    #[doc = "The `setInterval()` method."]
3432    #[doc = ""]
3433    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3434    #[doc = ""]
3435    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3436    pub fn set_interval_with_str_and_timeout_and_unused_7(
3437        this: &Window,
3438        handler: &str,
3439        timeout: i32,
3440        unused_1: &::wasm_bindgen::JsValue,
3441        unused_2: &::wasm_bindgen::JsValue,
3442        unused_3: &::wasm_bindgen::JsValue,
3443        unused_4: &::wasm_bindgen::JsValue,
3444        unused_5: &::wasm_bindgen::JsValue,
3445        unused_6: &::wasm_bindgen::JsValue,
3446        unused_7: &::wasm_bindgen::JsValue,
3447    ) -> Result<i32, JsValue>;
3448    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3449    #[doc = "The `setTimeout()` method."]
3450    #[doc = ""]
3451    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3452    #[doc = ""]
3453    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3454    pub fn set_timeout_with_callback(
3455        this: &Window,
3456        handler: &::js_sys::Function,
3457    ) -> Result<i32, JsValue>;
3458    #[wasm_bindgen(catch, method, variadic, js_class = "Window", js_name = "setTimeout")]
3459    #[doc = "The `setTimeout()` method."]
3460    #[doc = ""]
3461    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3462    #[doc = ""]
3463    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3464    pub fn set_timeout_with_callback_and_timeout_and_arguments(
3465        this: &Window,
3466        handler: &::js_sys::Function,
3467        timeout: i32,
3468        arguments: &::js_sys::Array,
3469    ) -> Result<i32, JsValue>;
3470    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3471    #[doc = "The `setTimeout()` method."]
3472    #[doc = ""]
3473    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3474    #[doc = ""]
3475    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3476    pub fn set_timeout_with_callback_and_timeout_and_arguments_0(
3477        this: &Window,
3478        handler: &::js_sys::Function,
3479        timeout: i32,
3480    ) -> Result<i32, JsValue>;
3481    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3482    #[doc = "The `setTimeout()` method."]
3483    #[doc = ""]
3484    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3485    #[doc = ""]
3486    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3487    pub fn set_timeout_with_callback_and_timeout_and_arguments_1(
3488        this: &Window,
3489        handler: &::js_sys::Function,
3490        timeout: i32,
3491        arguments_1: &::wasm_bindgen::JsValue,
3492    ) -> Result<i32, JsValue>;
3493    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3494    #[doc = "The `setTimeout()` method."]
3495    #[doc = ""]
3496    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3497    #[doc = ""]
3498    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3499    pub fn set_timeout_with_callback_and_timeout_and_arguments_2(
3500        this: &Window,
3501        handler: &::js_sys::Function,
3502        timeout: i32,
3503        arguments_1: &::wasm_bindgen::JsValue,
3504        arguments_2: &::wasm_bindgen::JsValue,
3505    ) -> Result<i32, JsValue>;
3506    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3507    #[doc = "The `setTimeout()` method."]
3508    #[doc = ""]
3509    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3510    #[doc = ""]
3511    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3512    pub fn set_timeout_with_callback_and_timeout_and_arguments_3(
3513        this: &Window,
3514        handler: &::js_sys::Function,
3515        timeout: i32,
3516        arguments_1: &::wasm_bindgen::JsValue,
3517        arguments_2: &::wasm_bindgen::JsValue,
3518        arguments_3: &::wasm_bindgen::JsValue,
3519    ) -> Result<i32, JsValue>;
3520    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3521    #[doc = "The `setTimeout()` method."]
3522    #[doc = ""]
3523    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3524    #[doc = ""]
3525    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3526    pub fn set_timeout_with_callback_and_timeout_and_arguments_4(
3527        this: &Window,
3528        handler: &::js_sys::Function,
3529        timeout: i32,
3530        arguments_1: &::wasm_bindgen::JsValue,
3531        arguments_2: &::wasm_bindgen::JsValue,
3532        arguments_3: &::wasm_bindgen::JsValue,
3533        arguments_4: &::wasm_bindgen::JsValue,
3534    ) -> Result<i32, JsValue>;
3535    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3536    #[doc = "The `setTimeout()` method."]
3537    #[doc = ""]
3538    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3539    #[doc = ""]
3540    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3541    pub fn set_timeout_with_callback_and_timeout_and_arguments_5(
3542        this: &Window,
3543        handler: &::js_sys::Function,
3544        timeout: i32,
3545        arguments_1: &::wasm_bindgen::JsValue,
3546        arguments_2: &::wasm_bindgen::JsValue,
3547        arguments_3: &::wasm_bindgen::JsValue,
3548        arguments_4: &::wasm_bindgen::JsValue,
3549        arguments_5: &::wasm_bindgen::JsValue,
3550    ) -> Result<i32, JsValue>;
3551    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3552    #[doc = "The `setTimeout()` method."]
3553    #[doc = ""]
3554    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3555    #[doc = ""]
3556    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3557    pub fn set_timeout_with_callback_and_timeout_and_arguments_6(
3558        this: &Window,
3559        handler: &::js_sys::Function,
3560        timeout: i32,
3561        arguments_1: &::wasm_bindgen::JsValue,
3562        arguments_2: &::wasm_bindgen::JsValue,
3563        arguments_3: &::wasm_bindgen::JsValue,
3564        arguments_4: &::wasm_bindgen::JsValue,
3565        arguments_5: &::wasm_bindgen::JsValue,
3566        arguments_6: &::wasm_bindgen::JsValue,
3567    ) -> Result<i32, JsValue>;
3568    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3569    #[doc = "The `setTimeout()` method."]
3570    #[doc = ""]
3571    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3572    #[doc = ""]
3573    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3574    pub fn set_timeout_with_callback_and_timeout_and_arguments_7(
3575        this: &Window,
3576        handler: &::js_sys::Function,
3577        timeout: i32,
3578        arguments_1: &::wasm_bindgen::JsValue,
3579        arguments_2: &::wasm_bindgen::JsValue,
3580        arguments_3: &::wasm_bindgen::JsValue,
3581        arguments_4: &::wasm_bindgen::JsValue,
3582        arguments_5: &::wasm_bindgen::JsValue,
3583        arguments_6: &::wasm_bindgen::JsValue,
3584        arguments_7: &::wasm_bindgen::JsValue,
3585    ) -> Result<i32, JsValue>;
3586    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3587    #[doc = "The `setTimeout()` method."]
3588    #[doc = ""]
3589    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3590    #[doc = ""]
3591    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3592    pub fn set_timeout_with_str(this: &Window, handler: &str) -> Result<i32, JsValue>;
3593    #[wasm_bindgen(catch, method, variadic, js_class = "Window", js_name = "setTimeout")]
3594    #[doc = "The `setTimeout()` method."]
3595    #[doc = ""]
3596    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3597    #[doc = ""]
3598    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3599    pub fn set_timeout_with_str_and_timeout_and_unused(
3600        this: &Window,
3601        handler: &str,
3602        timeout: i32,
3603        unused: &::js_sys::Array,
3604    ) -> Result<i32, JsValue>;
3605    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3606    #[doc = "The `setTimeout()` method."]
3607    #[doc = ""]
3608    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3609    #[doc = ""]
3610    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3611    pub fn set_timeout_with_str_and_timeout_and_unused_0(
3612        this: &Window,
3613        handler: &str,
3614        timeout: i32,
3615    ) -> Result<i32, JsValue>;
3616    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3617    #[doc = "The `setTimeout()` method."]
3618    #[doc = ""]
3619    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3620    #[doc = ""]
3621    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3622    pub fn set_timeout_with_str_and_timeout_and_unused_1(
3623        this: &Window,
3624        handler: &str,
3625        timeout: i32,
3626        unused_1: &::wasm_bindgen::JsValue,
3627    ) -> Result<i32, JsValue>;
3628    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3629    #[doc = "The `setTimeout()` method."]
3630    #[doc = ""]
3631    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3632    #[doc = ""]
3633    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3634    pub fn set_timeout_with_str_and_timeout_and_unused_2(
3635        this: &Window,
3636        handler: &str,
3637        timeout: i32,
3638        unused_1: &::wasm_bindgen::JsValue,
3639        unused_2: &::wasm_bindgen::JsValue,
3640    ) -> Result<i32, JsValue>;
3641    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3642    #[doc = "The `setTimeout()` method."]
3643    #[doc = ""]
3644    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3645    #[doc = ""]
3646    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3647    pub fn set_timeout_with_str_and_timeout_and_unused_3(
3648        this: &Window,
3649        handler: &str,
3650        timeout: i32,
3651        unused_1: &::wasm_bindgen::JsValue,
3652        unused_2: &::wasm_bindgen::JsValue,
3653        unused_3: &::wasm_bindgen::JsValue,
3654    ) -> Result<i32, JsValue>;
3655    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3656    #[doc = "The `setTimeout()` method."]
3657    #[doc = ""]
3658    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3659    #[doc = ""]
3660    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3661    pub fn set_timeout_with_str_and_timeout_and_unused_4(
3662        this: &Window,
3663        handler: &str,
3664        timeout: i32,
3665        unused_1: &::wasm_bindgen::JsValue,
3666        unused_2: &::wasm_bindgen::JsValue,
3667        unused_3: &::wasm_bindgen::JsValue,
3668        unused_4: &::wasm_bindgen::JsValue,
3669    ) -> Result<i32, JsValue>;
3670    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3671    #[doc = "The `setTimeout()` method."]
3672    #[doc = ""]
3673    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3674    #[doc = ""]
3675    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3676    pub fn set_timeout_with_str_and_timeout_and_unused_5(
3677        this: &Window,
3678        handler: &str,
3679        timeout: i32,
3680        unused_1: &::wasm_bindgen::JsValue,
3681        unused_2: &::wasm_bindgen::JsValue,
3682        unused_3: &::wasm_bindgen::JsValue,
3683        unused_4: &::wasm_bindgen::JsValue,
3684        unused_5: &::wasm_bindgen::JsValue,
3685    ) -> Result<i32, JsValue>;
3686    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3687    #[doc = "The `setTimeout()` method."]
3688    #[doc = ""]
3689    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3690    #[doc = ""]
3691    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3692    pub fn set_timeout_with_str_and_timeout_and_unused_6(
3693        this: &Window,
3694        handler: &str,
3695        timeout: i32,
3696        unused_1: &::wasm_bindgen::JsValue,
3697        unused_2: &::wasm_bindgen::JsValue,
3698        unused_3: &::wasm_bindgen::JsValue,
3699        unused_4: &::wasm_bindgen::JsValue,
3700        unused_5: &::wasm_bindgen::JsValue,
3701        unused_6: &::wasm_bindgen::JsValue,
3702    ) -> Result<i32, JsValue>;
3703    #[wasm_bindgen(catch, method, js_class = "Window", js_name = "setTimeout")]
3704    #[doc = "The `setTimeout()` method."]
3705    #[doc = ""]
3706    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3707    #[doc = ""]
3708    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3709    pub fn set_timeout_with_str_and_timeout_and_unused_7(
3710        this: &Window,
3711        handler: &str,
3712        timeout: i32,
3713        unused_1: &::wasm_bindgen::JsValue,
3714        unused_2: &::wasm_bindgen::JsValue,
3715        unused_3: &::wasm_bindgen::JsValue,
3716        unused_4: &::wasm_bindgen::JsValue,
3717        unused_5: &::wasm_bindgen::JsValue,
3718        unused_6: &::wasm_bindgen::JsValue,
3719        unused_7: &::wasm_bindgen::JsValue,
3720    ) -> Result<i32, JsValue>;
3721}