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