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