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