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