1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "Element",
9 extends = "Node",
10 extends = "EventTarget",
11 extends = "::js_sys::Object",
12 js_name = "HTMLElement",
13 typescript_type = "HTMLElement"
14 )]
15 #[derive(Debug, Clone, PartialEq, Eq)]
16 #[doc = "The `HtmlElement` class."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
21 pub type HtmlElement;
22 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "title")]
23 #[doc = "Getter for the `title` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
28 pub fn title(this: &HtmlElement) -> ::alloc::string::String;
29 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "title")]
30 #[doc = "Setter for the `title` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
35 pub fn set_title(this: &HtmlElement, value: &str);
36 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "scrollHeight")]
37 #[doc = "Getter for the `scrollHeight` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollHeight)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
42 pub fn scroll_height(this: &HtmlElement) -> i32;
43 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "scrollHeight")]
44 #[doc = "Setter for the `scrollHeight` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollHeight)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
49 pub fn set_scroll_height(this: &HtmlElement, value: i32);
50 #[cfg(not(web_sys_unstable_apis))]
51 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "scrollTop")]
52 #[doc = "Getter for the `scrollTop` field of this object."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
57 pub fn scroll_top(this: &HtmlElement) -> i32;
58 #[cfg(not(web_sys_unstable_apis))]
59 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "scrollTop")]
60 #[doc = "Setter for the `scrollTop` field of this object."]
61 #[doc = ""]
62 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)"]
63 #[doc = ""]
64 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
65 pub fn set_scroll_top(this: &HtmlElement, value: i32);
66 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "lang")]
67 #[doc = "Getter for the `lang` field of this object."]
68 #[doc = ""]
69 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)"]
70 #[doc = ""]
71 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
72 pub fn lang(this: &HtmlElement) -> ::alloc::string::String;
73 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "lang")]
74 #[doc = "Setter for the `lang` field of this object."]
75 #[doc = ""]
76 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/lang)"]
77 #[doc = ""]
78 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
79 pub fn set_lang(this: &HtmlElement, value: &str);
80 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "dir")]
81 #[doc = "Getter for the `dir` field of this object."]
82 #[doc = ""]
83 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)"]
84 #[doc = ""]
85 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
86 pub fn dir(this: &HtmlElement) -> ::alloc::string::String;
87 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "dir")]
88 #[doc = "Setter for the `dir` field of this object."]
89 #[doc = ""]
90 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dir)"]
91 #[doc = ""]
92 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
93 pub fn set_dir(this: &HtmlElement, value: &str);
94 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "innerText")]
95 #[doc = "Getter for the `innerText` field of this object."]
96 #[doc = ""]
97 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)"]
98 #[doc = ""]
99 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
100 pub fn inner_text(this: &HtmlElement) -> ::alloc::string::String;
101 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "innerText")]
102 #[doc = "Setter for the `innerText` field of this object."]
103 #[doc = ""]
104 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)"]
105 #[doc = ""]
106 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
107 pub fn set_inner_text(this: &HtmlElement, value: &str);
108 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "hidden")]
109 #[doc = "Getter for the `hidden` field of this object."]
110 #[doc = ""]
111 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)"]
112 #[doc = ""]
113 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
114 pub fn hidden(this: &HtmlElement) -> bool;
115 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "hidden")]
116 #[doc = "Setter for the `hidden` field of this object."]
117 #[doc = ""]
118 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidden)"]
119 #[doc = ""]
120 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
121 pub fn set_hidden(this: &HtmlElement, value: bool);
122 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "inert")]
123 #[doc = "Getter for the `inert` field of this object."]
124 #[doc = ""]
125 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert)"]
126 #[doc = ""]
127 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
128 pub fn inert(this: &HtmlElement) -> bool;
129 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "inert")]
130 #[doc = "Setter for the `inert` field of this object."]
131 #[doc = ""]
132 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert)"]
133 #[doc = ""]
134 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
135 pub fn set_inert(this: &HtmlElement, value: bool);
136 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "accessKey")]
137 #[doc = "Getter for the `accessKey` field of this object."]
138 #[doc = ""]
139 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)"]
140 #[doc = ""]
141 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
142 pub fn access_key(this: &HtmlElement) -> ::alloc::string::String;
143 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "accessKey")]
144 #[doc = "Setter for the `accessKey` field of this object."]
145 #[doc = ""]
146 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKey)"]
147 #[doc = ""]
148 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
149 pub fn set_access_key(this: &HtmlElement, value: &str);
150 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "accessKeyLabel")]
151 #[doc = "Getter for the `accessKeyLabel` field of this object."]
152 #[doc = ""]
153 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/accessKeyLabel)"]
154 #[doc = ""]
155 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
156 pub fn access_key_label(this: &HtmlElement) -> ::alloc::string::String;
157 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "draggable")]
158 #[doc = "Getter for the `draggable` field of this object."]
159 #[doc = ""]
160 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)"]
161 #[doc = ""]
162 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
163 pub fn draggable(this: &HtmlElement) -> bool;
164 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "draggable")]
165 #[doc = "Setter for the `draggable` field of this object."]
166 #[doc = ""]
167 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/draggable)"]
168 #[doc = ""]
169 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
170 pub fn set_draggable(this: &HtmlElement, value: bool);
171 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "contentEditable")]
172 #[doc = "Getter for the `contentEditable` field of this object."]
173 #[doc = ""]
174 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)"]
175 #[doc = ""]
176 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
177 pub fn content_editable(this: &HtmlElement) -> ::alloc::string::String;
178 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "contentEditable")]
179 #[doc = "Setter for the `contentEditable` field of this object."]
180 #[doc = ""]
181 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/contentEditable)"]
182 #[doc = ""]
183 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
184 pub fn set_content_editable(this: &HtmlElement, value: &str);
185 #[wasm_bindgen(
186 method,
187 getter,
188 js_class = "HTMLElement",
189 js_name = "isContentEditable"
190 )]
191 #[doc = "Getter for the `isContentEditable` field of this object."]
192 #[doc = ""]
193 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/isContentEditable)"]
194 #[doc = ""]
195 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
196 pub fn is_content_editable(this: &HtmlElement) -> bool;
197 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "popover")]
198 #[doc = "Getter for the `popover` field of this object."]
199 #[doc = ""]
200 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/popover)"]
201 #[doc = ""]
202 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
203 pub fn popover(this: &HtmlElement) -> Option<::alloc::string::String>;
204 #[wasm_bindgen(catch, method, setter, js_class = "HTMLElement", js_name = "popover")]
205 #[doc = "Setter for the `popover` field of this object."]
206 #[doc = ""]
207 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/popover)"]
208 #[doc = ""]
209 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
210 pub fn set_popover(this: &HtmlElement, value: Option<&str>) -> Result<(), JsValue>;
211 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "spellcheck")]
212 #[doc = "Getter for the `spellcheck` field of this object."]
213 #[doc = ""]
214 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)"]
215 #[doc = ""]
216 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
217 pub fn spellcheck(this: &HtmlElement) -> bool;
218 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "spellcheck")]
219 #[doc = "Setter for the `spellcheck` field of this object."]
220 #[doc = ""]
221 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/spellcheck)"]
222 #[doc = ""]
223 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
224 pub fn set_spellcheck(this: &HtmlElement, value: bool);
225 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "offsetParent")]
226 #[doc = "Getter for the `offsetParent` field of this object."]
227 #[doc = ""]
228 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent)"]
229 #[doc = ""]
230 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
231 pub fn offset_parent(this: &HtmlElement) -> Option<Element>;
232 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "offsetTop")]
233 #[doc = "Getter for the `offsetTop` field of this object."]
234 #[doc = ""]
235 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetTop)"]
236 #[doc = ""]
237 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
238 pub fn offset_top(this: &HtmlElement) -> i32;
239 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "offsetLeft")]
240 #[doc = "Getter for the `offsetLeft` field of this object."]
241 #[doc = ""]
242 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetLeft)"]
243 #[doc = ""]
244 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
245 pub fn offset_left(this: &HtmlElement) -> i32;
246 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "offsetWidth")]
247 #[doc = "Getter for the `offsetWidth` field of this object."]
248 #[doc = ""]
249 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetWidth)"]
250 #[doc = ""]
251 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
252 pub fn offset_width(this: &HtmlElement) -> i32;
253 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "offsetHeight")]
254 #[doc = "Getter for the `offsetHeight` field of this object."]
255 #[doc = ""]
256 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetHeight)"]
257 #[doc = ""]
258 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
259 pub fn offset_height(this: &HtmlElement) -> i32;
260 #[cfg(web_sys_unstable_apis)]
261 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "scrollTop")]
262 #[doc = "Getter for the `scrollTop` field of this object."]
263 #[doc = ""]
264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)"]
265 #[doc = ""]
266 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
267 #[doc = ""]
268 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
269 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
270 pub fn scroll_top(this: &HtmlElement) -> f64;
271 #[cfg(web_sys_unstable_apis)]
272 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "scrollTop")]
273 #[doc = "Setter for the `scrollTop` field of this object."]
274 #[doc = ""]
275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)"]
276 #[doc = ""]
277 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
278 #[doc = ""]
279 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
280 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
281 pub fn set_scroll_top(this: &HtmlElement, value: f64);
282 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oncopy")]
283 #[doc = "Getter for the `oncopy` field of this object."]
284 #[doc = ""]
285 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)"]
286 #[doc = ""]
287 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
288 pub fn oncopy(this: &HtmlElement) -> Option<::js_sys::Function>;
289 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oncopy")]
290 #[doc = "Setter for the `oncopy` field of this object."]
291 #[doc = ""]
292 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncopy)"]
293 #[doc = ""]
294 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
295 pub fn set_oncopy(this: &HtmlElement, value: Option<&::js_sys::Function>);
296 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oncut")]
297 #[doc = "Getter for the `oncut` field of this object."]
298 #[doc = ""]
299 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)"]
300 #[doc = ""]
301 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
302 pub fn oncut(this: &HtmlElement) -> Option<::js_sys::Function>;
303 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oncut")]
304 #[doc = "Setter for the `oncut` field of this object."]
305 #[doc = ""]
306 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncut)"]
307 #[doc = ""]
308 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
309 pub fn set_oncut(this: &HtmlElement, value: Option<&::js_sys::Function>);
310 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpaste")]
311 #[doc = "Getter for the `onpaste` field of this object."]
312 #[doc = ""]
313 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)"]
314 #[doc = ""]
315 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
316 pub fn onpaste(this: &HtmlElement) -> Option<::js_sys::Function>;
317 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpaste")]
318 #[doc = "Setter for the `onpaste` field of this object."]
319 #[doc = ""]
320 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpaste)"]
321 #[doc = ""]
322 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
323 pub fn set_onpaste(this: &HtmlElement, value: Option<&::js_sys::Function>);
324 #[cfg(feature = "CssStyleDeclaration")]
325 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "style")]
326 #[doc = "Getter for the `style` field of this object."]
327 #[doc = ""]
328 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style)"]
329 #[doc = ""]
330 #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `HtmlElement`*"]
331 pub fn style(this: &HtmlElement) -> CssStyleDeclaration;
332 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onabort")]
333 #[doc = "Getter for the `onabort` field of this object."]
334 #[doc = ""]
335 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)"]
336 #[doc = ""]
337 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
338 pub fn onabort(this: &HtmlElement) -> Option<::js_sys::Function>;
339 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onabort")]
340 #[doc = "Setter for the `onabort` field of this object."]
341 #[doc = ""]
342 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onabort)"]
343 #[doc = ""]
344 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
345 pub fn set_onabort(this: &HtmlElement, value: Option<&::js_sys::Function>);
346 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onblur")]
347 #[doc = "Getter for the `onblur` field of this object."]
348 #[doc = ""]
349 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)"]
350 #[doc = ""]
351 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
352 pub fn onblur(this: &HtmlElement) -> Option<::js_sys::Function>;
353 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onblur")]
354 #[doc = "Setter for the `onblur` field of this object."]
355 #[doc = ""]
356 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onblur)"]
357 #[doc = ""]
358 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
359 pub fn set_onblur(this: &HtmlElement, value: Option<&::js_sys::Function>);
360 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onfocus")]
361 #[doc = "Getter for the `onfocus` field of this object."]
362 #[doc = ""]
363 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)"]
364 #[doc = ""]
365 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
366 pub fn onfocus(this: &HtmlElement) -> Option<::js_sys::Function>;
367 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onfocus")]
368 #[doc = "Setter for the `onfocus` field of this object."]
369 #[doc = ""]
370 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onfocus)"]
371 #[doc = ""]
372 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
373 pub fn set_onfocus(this: &HtmlElement, value: Option<&::js_sys::Function>);
374 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oncancel")]
375 #[doc = "Getter for the `oncancel` field of this object."]
376 #[doc = ""]
377 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncancel)"]
378 #[doc = ""]
379 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
380 pub fn oncancel(this: &HtmlElement) -> Option<::js_sys::Function>;
381 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oncancel")]
382 #[doc = "Setter for the `oncancel` field of this object."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncancel)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
387 pub fn set_oncancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
388 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onauxclick")]
389 #[doc = "Getter for the `onauxclick` field of this object."]
390 #[doc = ""]
391 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)"]
392 #[doc = ""]
393 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
394 pub fn onauxclick(this: &HtmlElement) -> Option<::js_sys::Function>;
395 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onauxclick")]
396 #[doc = "Setter for the `onauxclick` field of this object."]
397 #[doc = ""]
398 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onauxclick)"]
399 #[doc = ""]
400 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
401 pub fn set_onauxclick(this: &HtmlElement, value: Option<&::js_sys::Function>);
402 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onbeforetoggle")]
403 #[doc = "Getter for the `onbeforetoggle` field of this object."]
404 #[doc = ""]
405 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onbeforetoggle)"]
406 #[doc = ""]
407 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
408 pub fn onbeforetoggle(this: &HtmlElement) -> Option<::js_sys::Function>;
409 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onbeforetoggle")]
410 #[doc = "Setter for the `onbeforetoggle` field of this object."]
411 #[doc = ""]
412 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onbeforetoggle)"]
413 #[doc = ""]
414 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
415 pub fn set_onbeforetoggle(this: &HtmlElement, value: Option<&::js_sys::Function>);
416 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oncanplay")]
417 #[doc = "Getter for the `oncanplay` field of this object."]
418 #[doc = ""]
419 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)"]
420 #[doc = ""]
421 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
422 pub fn oncanplay(this: &HtmlElement) -> Option<::js_sys::Function>;
423 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oncanplay")]
424 #[doc = "Setter for the `oncanplay` field of this object."]
425 #[doc = ""]
426 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplay)"]
427 #[doc = ""]
428 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
429 pub fn set_oncanplay(this: &HtmlElement, value: Option<&::js_sys::Function>);
430 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oncanplaythrough")]
431 #[doc = "Getter for the `oncanplaythrough` field of this object."]
432 #[doc = ""]
433 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)"]
434 #[doc = ""]
435 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
436 pub fn oncanplaythrough(this: &HtmlElement) -> Option<::js_sys::Function>;
437 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oncanplaythrough")]
438 #[doc = "Setter for the `oncanplaythrough` field of this object."]
439 #[doc = ""]
440 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncanplaythrough)"]
441 #[doc = ""]
442 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
443 pub fn set_oncanplaythrough(this: &HtmlElement, value: Option<&::js_sys::Function>);
444 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onchange")]
445 #[doc = "Getter for the `onchange` field of this object."]
446 #[doc = ""]
447 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)"]
448 #[doc = ""]
449 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
450 pub fn onchange(this: &HtmlElement) -> Option<::js_sys::Function>;
451 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onchange")]
452 #[doc = "Setter for the `onchange` field of this object."]
453 #[doc = ""]
454 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onchange)"]
455 #[doc = ""]
456 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
457 pub fn set_onchange(this: &HtmlElement, value: Option<&::js_sys::Function>);
458 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onclick")]
459 #[doc = "Getter for the `onclick` field of this object."]
460 #[doc = ""]
461 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)"]
462 #[doc = ""]
463 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
464 pub fn onclick(this: &HtmlElement) -> Option<::js_sys::Function>;
465 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onclick")]
466 #[doc = "Setter for the `onclick` field of this object."]
467 #[doc = ""]
468 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclick)"]
469 #[doc = ""]
470 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
471 pub fn set_onclick(this: &HtmlElement, value: Option<&::js_sys::Function>);
472 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onclose")]
473 #[doc = "Getter for the `onclose` field of this object."]
474 #[doc = ""]
475 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)"]
476 #[doc = ""]
477 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
478 pub fn onclose(this: &HtmlElement) -> Option<::js_sys::Function>;
479 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onclose")]
480 #[doc = "Setter for the `onclose` field of this object."]
481 #[doc = ""]
482 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onclose)"]
483 #[doc = ""]
484 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
485 pub fn set_onclose(this: &HtmlElement, value: Option<&::js_sys::Function>);
486 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oncontextmenu")]
487 #[doc = "Getter for the `oncontextmenu` field of this object."]
488 #[doc = ""]
489 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)"]
490 #[doc = ""]
491 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
492 pub fn oncontextmenu(this: &HtmlElement) -> Option<::js_sys::Function>;
493 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oncontextmenu")]
494 #[doc = "Setter for the `oncontextmenu` field of this object."]
495 #[doc = ""]
496 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oncontextmenu)"]
497 #[doc = ""]
498 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
499 pub fn set_oncontextmenu(this: &HtmlElement, value: Option<&::js_sys::Function>);
500 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondblclick")]
501 #[doc = "Getter for the `ondblclick` field of this object."]
502 #[doc = ""]
503 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)"]
504 #[doc = ""]
505 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
506 pub fn ondblclick(this: &HtmlElement) -> Option<::js_sys::Function>;
507 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondblclick")]
508 #[doc = "Setter for the `ondblclick` field of this object."]
509 #[doc = ""]
510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondblclick)"]
511 #[doc = ""]
512 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
513 pub fn set_ondblclick(this: &HtmlElement, value: Option<&::js_sys::Function>);
514 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondrag")]
515 #[doc = "Getter for the `ondrag` field of this object."]
516 #[doc = ""]
517 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)"]
518 #[doc = ""]
519 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
520 pub fn ondrag(this: &HtmlElement) -> Option<::js_sys::Function>;
521 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondrag")]
522 #[doc = "Setter for the `ondrag` field of this object."]
523 #[doc = ""]
524 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrag)"]
525 #[doc = ""]
526 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
527 pub fn set_ondrag(this: &HtmlElement, value: Option<&::js_sys::Function>);
528 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondragend")]
529 #[doc = "Getter for the `ondragend` field of this object."]
530 #[doc = ""]
531 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)"]
532 #[doc = ""]
533 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
534 pub fn ondragend(this: &HtmlElement) -> Option<::js_sys::Function>;
535 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondragend")]
536 #[doc = "Setter for the `ondragend` field of this object."]
537 #[doc = ""]
538 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragend)"]
539 #[doc = ""]
540 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
541 pub fn set_ondragend(this: &HtmlElement, value: Option<&::js_sys::Function>);
542 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondragenter")]
543 #[doc = "Getter for the `ondragenter` field of this object."]
544 #[doc = ""]
545 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)"]
546 #[doc = ""]
547 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
548 pub fn ondragenter(this: &HtmlElement) -> Option<::js_sys::Function>;
549 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondragenter")]
550 #[doc = "Setter for the `ondragenter` field of this object."]
551 #[doc = ""]
552 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragenter)"]
553 #[doc = ""]
554 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
555 pub fn set_ondragenter(this: &HtmlElement, value: Option<&::js_sys::Function>);
556 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondragexit")]
557 #[doc = "Getter for the `ondragexit` field of this object."]
558 #[doc = ""]
559 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)"]
560 #[doc = ""]
561 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
562 pub fn ondragexit(this: &HtmlElement) -> Option<::js_sys::Function>;
563 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondragexit")]
564 #[doc = "Setter for the `ondragexit` field of this object."]
565 #[doc = ""]
566 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragexit)"]
567 #[doc = ""]
568 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
569 pub fn set_ondragexit(this: &HtmlElement, value: Option<&::js_sys::Function>);
570 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondragleave")]
571 #[doc = "Getter for the `ondragleave` field of this object."]
572 #[doc = ""]
573 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)"]
574 #[doc = ""]
575 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
576 pub fn ondragleave(this: &HtmlElement) -> Option<::js_sys::Function>;
577 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondragleave")]
578 #[doc = "Setter for the `ondragleave` field of this object."]
579 #[doc = ""]
580 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragleave)"]
581 #[doc = ""]
582 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
583 pub fn set_ondragleave(this: &HtmlElement, value: Option<&::js_sys::Function>);
584 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondragover")]
585 #[doc = "Getter for the `ondragover` field of this object."]
586 #[doc = ""]
587 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)"]
588 #[doc = ""]
589 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
590 pub fn ondragover(this: &HtmlElement) -> Option<::js_sys::Function>;
591 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondragover")]
592 #[doc = "Setter for the `ondragover` field of this object."]
593 #[doc = ""]
594 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragover)"]
595 #[doc = ""]
596 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
597 pub fn set_ondragover(this: &HtmlElement, value: Option<&::js_sys::Function>);
598 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondragstart")]
599 #[doc = "Getter for the `ondragstart` field of this object."]
600 #[doc = ""]
601 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)"]
602 #[doc = ""]
603 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
604 pub fn ondragstart(this: &HtmlElement) -> Option<::js_sys::Function>;
605 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondragstart")]
606 #[doc = "Setter for the `ondragstart` field of this object."]
607 #[doc = ""]
608 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondragstart)"]
609 #[doc = ""]
610 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
611 pub fn set_ondragstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
612 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondrop")]
613 #[doc = "Getter for the `ondrop` field of this object."]
614 #[doc = ""]
615 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)"]
616 #[doc = ""]
617 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
618 pub fn ondrop(this: &HtmlElement) -> Option<::js_sys::Function>;
619 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondrop")]
620 #[doc = "Setter for the `ondrop` field of this object."]
621 #[doc = ""]
622 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondrop)"]
623 #[doc = ""]
624 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
625 pub fn set_ondrop(this: &HtmlElement, value: Option<&::js_sys::Function>);
626 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ondurationchange")]
627 #[doc = "Getter for the `ondurationchange` field of this object."]
628 #[doc = ""]
629 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)"]
630 #[doc = ""]
631 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
632 pub fn ondurationchange(this: &HtmlElement) -> Option<::js_sys::Function>;
633 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ondurationchange")]
634 #[doc = "Setter for the `ondurationchange` field of this object."]
635 #[doc = ""]
636 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ondurationchange)"]
637 #[doc = ""]
638 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
639 pub fn set_ondurationchange(this: &HtmlElement, value: Option<&::js_sys::Function>);
640 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onemptied")]
641 #[doc = "Getter for the `onemptied` field of this object."]
642 #[doc = ""]
643 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)"]
644 #[doc = ""]
645 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
646 pub fn onemptied(this: &HtmlElement) -> Option<::js_sys::Function>;
647 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onemptied")]
648 #[doc = "Setter for the `onemptied` field of this object."]
649 #[doc = ""]
650 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onemptied)"]
651 #[doc = ""]
652 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
653 pub fn set_onemptied(this: &HtmlElement, value: Option<&::js_sys::Function>);
654 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onended")]
655 #[doc = "Getter for the `onended` field of this object."]
656 #[doc = ""]
657 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)"]
658 #[doc = ""]
659 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
660 pub fn onended(this: &HtmlElement) -> Option<::js_sys::Function>;
661 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onended")]
662 #[doc = "Setter for the `onended` field of this object."]
663 #[doc = ""]
664 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onended)"]
665 #[doc = ""]
666 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
667 pub fn set_onended(this: &HtmlElement, value: Option<&::js_sys::Function>);
668 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oninput")]
669 #[doc = "Getter for the `oninput` field of this object."]
670 #[doc = ""]
671 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)"]
672 #[doc = ""]
673 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
674 pub fn oninput(this: &HtmlElement) -> Option<::js_sys::Function>;
675 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oninput")]
676 #[doc = "Setter for the `oninput` field of this object."]
677 #[doc = ""]
678 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninput)"]
679 #[doc = ""]
680 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
681 pub fn set_oninput(this: &HtmlElement, value: Option<&::js_sys::Function>);
682 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onbeforeinput")]
683 #[doc = "Getter for the `onbeforeinput` field of this object."]
684 #[doc = ""]
685 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onbeforeinput)"]
686 #[doc = ""]
687 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
688 pub fn onbeforeinput(this: &HtmlElement) -> Option<::js_sys::Function>;
689 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onbeforeinput")]
690 #[doc = "Setter for the `onbeforeinput` field of this object."]
691 #[doc = ""]
692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onbeforeinput)"]
693 #[doc = ""]
694 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
695 pub fn set_onbeforeinput(this: &HtmlElement, value: Option<&::js_sys::Function>);
696 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "oninvalid")]
697 #[doc = "Getter for the `oninvalid` field of this object."]
698 #[doc = ""]
699 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)"]
700 #[doc = ""]
701 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
702 pub fn oninvalid(this: &HtmlElement) -> Option<::js_sys::Function>;
703 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "oninvalid")]
704 #[doc = "Setter for the `oninvalid` field of this object."]
705 #[doc = ""]
706 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/oninvalid)"]
707 #[doc = ""]
708 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
709 pub fn set_oninvalid(this: &HtmlElement, value: Option<&::js_sys::Function>);
710 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onkeydown")]
711 #[doc = "Getter for the `onkeydown` field of this object."]
712 #[doc = ""]
713 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)"]
714 #[doc = ""]
715 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
716 pub fn onkeydown(this: &HtmlElement) -> Option<::js_sys::Function>;
717 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onkeydown")]
718 #[doc = "Setter for the `onkeydown` field of this object."]
719 #[doc = ""]
720 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeydown)"]
721 #[doc = ""]
722 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
723 pub fn set_onkeydown(this: &HtmlElement, value: Option<&::js_sys::Function>);
724 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onkeypress")]
725 #[doc = "Getter for the `onkeypress` field of this object."]
726 #[doc = ""]
727 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)"]
728 #[doc = ""]
729 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
730 pub fn onkeypress(this: &HtmlElement) -> Option<::js_sys::Function>;
731 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onkeypress")]
732 #[doc = "Setter for the `onkeypress` field of this object."]
733 #[doc = ""]
734 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeypress)"]
735 #[doc = ""]
736 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
737 pub fn set_onkeypress(this: &HtmlElement, value: Option<&::js_sys::Function>);
738 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onkeyup")]
739 #[doc = "Getter for the `onkeyup` field of this object."]
740 #[doc = ""]
741 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)"]
742 #[doc = ""]
743 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
744 pub fn onkeyup(this: &HtmlElement) -> Option<::js_sys::Function>;
745 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onkeyup")]
746 #[doc = "Setter for the `onkeyup` field of this object."]
747 #[doc = ""]
748 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onkeyup)"]
749 #[doc = ""]
750 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
751 pub fn set_onkeyup(this: &HtmlElement, value: Option<&::js_sys::Function>);
752 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onload")]
753 #[doc = "Getter for the `onload` field of this object."]
754 #[doc = ""]
755 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)"]
756 #[doc = ""]
757 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
758 pub fn onload(this: &HtmlElement) -> Option<::js_sys::Function>;
759 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onload")]
760 #[doc = "Setter for the `onload` field of this object."]
761 #[doc = ""]
762 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onload)"]
763 #[doc = ""]
764 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
765 pub fn set_onload(this: &HtmlElement, value: Option<&::js_sys::Function>);
766 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onloadeddata")]
767 #[doc = "Getter for the `onloadeddata` field of this object."]
768 #[doc = ""]
769 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)"]
770 #[doc = ""]
771 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
772 pub fn onloadeddata(this: &HtmlElement) -> Option<::js_sys::Function>;
773 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onloadeddata")]
774 #[doc = "Setter for the `onloadeddata` field of this object."]
775 #[doc = ""]
776 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadeddata)"]
777 #[doc = ""]
778 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
779 pub fn set_onloadeddata(this: &HtmlElement, value: Option<&::js_sys::Function>);
780 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onloadedmetadata")]
781 #[doc = "Getter for the `onloadedmetadata` field of this object."]
782 #[doc = ""]
783 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)"]
784 #[doc = ""]
785 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
786 pub fn onloadedmetadata(this: &HtmlElement) -> Option<::js_sys::Function>;
787 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onloadedmetadata")]
788 #[doc = "Setter for the `onloadedmetadata` field of this object."]
789 #[doc = ""]
790 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadedmetadata)"]
791 #[doc = ""]
792 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
793 pub fn set_onloadedmetadata(this: &HtmlElement, value: Option<&::js_sys::Function>);
794 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onloadend")]
795 #[doc = "Getter for the `onloadend` field of this object."]
796 #[doc = ""]
797 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)"]
798 #[doc = ""]
799 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
800 pub fn onloadend(this: &HtmlElement) -> Option<::js_sys::Function>;
801 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onloadend")]
802 #[doc = "Setter for the `onloadend` field of this object."]
803 #[doc = ""]
804 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadend)"]
805 #[doc = ""]
806 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
807 pub fn set_onloadend(this: &HtmlElement, value: Option<&::js_sys::Function>);
808 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onloadstart")]
809 #[doc = "Getter for the `onloadstart` field of this object."]
810 #[doc = ""]
811 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)"]
812 #[doc = ""]
813 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
814 pub fn onloadstart(this: &HtmlElement) -> Option<::js_sys::Function>;
815 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onloadstart")]
816 #[doc = "Setter for the `onloadstart` field of this object."]
817 #[doc = ""]
818 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onloadstart)"]
819 #[doc = ""]
820 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
821 pub fn set_onloadstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
822 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmousedown")]
823 #[doc = "Getter for the `onmousedown` field of this object."]
824 #[doc = ""]
825 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)"]
826 #[doc = ""]
827 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
828 pub fn onmousedown(this: &HtmlElement) -> Option<::js_sys::Function>;
829 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmousedown")]
830 #[doc = "Setter for the `onmousedown` field of this object."]
831 #[doc = ""]
832 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousedown)"]
833 #[doc = ""]
834 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
835 pub fn set_onmousedown(this: &HtmlElement, value: Option<&::js_sys::Function>);
836 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmouseenter")]
837 #[doc = "Getter for the `onmouseenter` field of this object."]
838 #[doc = ""]
839 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)"]
840 #[doc = ""]
841 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
842 pub fn onmouseenter(this: &HtmlElement) -> Option<::js_sys::Function>;
843 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmouseenter")]
844 #[doc = "Setter for the `onmouseenter` field of this object."]
845 #[doc = ""]
846 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseenter)"]
847 #[doc = ""]
848 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
849 pub fn set_onmouseenter(this: &HtmlElement, value: Option<&::js_sys::Function>);
850 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmouseleave")]
851 #[doc = "Getter for the `onmouseleave` field of this object."]
852 #[doc = ""]
853 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)"]
854 #[doc = ""]
855 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
856 pub fn onmouseleave(this: &HtmlElement) -> Option<::js_sys::Function>;
857 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmouseleave")]
858 #[doc = "Setter for the `onmouseleave` field of this object."]
859 #[doc = ""]
860 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseleave)"]
861 #[doc = ""]
862 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
863 pub fn set_onmouseleave(this: &HtmlElement, value: Option<&::js_sys::Function>);
864 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmousemove")]
865 #[doc = "Getter for the `onmousemove` field of this object."]
866 #[doc = ""]
867 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)"]
868 #[doc = ""]
869 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
870 pub fn onmousemove(this: &HtmlElement) -> Option<::js_sys::Function>;
871 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmousemove")]
872 #[doc = "Setter for the `onmousemove` field of this object."]
873 #[doc = ""]
874 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmousemove)"]
875 #[doc = ""]
876 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
877 pub fn set_onmousemove(this: &HtmlElement, value: Option<&::js_sys::Function>);
878 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmouseout")]
879 #[doc = "Getter for the `onmouseout` field of this object."]
880 #[doc = ""]
881 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)"]
882 #[doc = ""]
883 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
884 pub fn onmouseout(this: &HtmlElement) -> Option<::js_sys::Function>;
885 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmouseout")]
886 #[doc = "Setter for the `onmouseout` field of this object."]
887 #[doc = ""]
888 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseout)"]
889 #[doc = ""]
890 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
891 pub fn set_onmouseout(this: &HtmlElement, value: Option<&::js_sys::Function>);
892 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmouseover")]
893 #[doc = "Getter for the `onmouseover` field of this object."]
894 #[doc = ""]
895 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)"]
896 #[doc = ""]
897 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
898 pub fn onmouseover(this: &HtmlElement) -> Option<::js_sys::Function>;
899 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmouseover")]
900 #[doc = "Setter for the `onmouseover` field of this object."]
901 #[doc = ""]
902 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseover)"]
903 #[doc = ""]
904 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
905 pub fn set_onmouseover(this: &HtmlElement, value: Option<&::js_sys::Function>);
906 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onmouseup")]
907 #[doc = "Getter for the `onmouseup` field of this object."]
908 #[doc = ""]
909 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)"]
910 #[doc = ""]
911 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
912 pub fn onmouseup(this: &HtmlElement) -> Option<::js_sys::Function>;
913 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onmouseup")]
914 #[doc = "Setter for the `onmouseup` field of this object."]
915 #[doc = ""]
916 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onmouseup)"]
917 #[doc = ""]
918 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
919 pub fn set_onmouseup(this: &HtmlElement, value: Option<&::js_sys::Function>);
920 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onwheel")]
921 #[doc = "Getter for the `onwheel` field of this object."]
922 #[doc = ""]
923 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)"]
924 #[doc = ""]
925 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
926 pub fn onwheel(this: &HtmlElement) -> Option<::js_sys::Function>;
927 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onwheel")]
928 #[doc = "Setter for the `onwheel` field of this object."]
929 #[doc = ""]
930 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwheel)"]
931 #[doc = ""]
932 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
933 pub fn set_onwheel(this: &HtmlElement, value: Option<&::js_sys::Function>);
934 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpause")]
935 #[doc = "Getter for the `onpause` field of this object."]
936 #[doc = ""]
937 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)"]
938 #[doc = ""]
939 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
940 pub fn onpause(this: &HtmlElement) -> Option<::js_sys::Function>;
941 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpause")]
942 #[doc = "Setter for the `onpause` field of this object."]
943 #[doc = ""]
944 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpause)"]
945 #[doc = ""]
946 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
947 pub fn set_onpause(this: &HtmlElement, value: Option<&::js_sys::Function>);
948 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onplay")]
949 #[doc = "Getter for the `onplay` field of this object."]
950 #[doc = ""]
951 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)"]
952 #[doc = ""]
953 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
954 pub fn onplay(this: &HtmlElement) -> Option<::js_sys::Function>;
955 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onplay")]
956 #[doc = "Setter for the `onplay` field of this object."]
957 #[doc = ""]
958 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplay)"]
959 #[doc = ""]
960 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
961 pub fn set_onplay(this: &HtmlElement, value: Option<&::js_sys::Function>);
962 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onplaying")]
963 #[doc = "Getter for the `onplaying` field of this object."]
964 #[doc = ""]
965 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)"]
966 #[doc = ""]
967 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
968 pub fn onplaying(this: &HtmlElement) -> Option<::js_sys::Function>;
969 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onplaying")]
970 #[doc = "Setter for the `onplaying` field of this object."]
971 #[doc = ""]
972 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onplaying)"]
973 #[doc = ""]
974 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
975 pub fn set_onplaying(this: &HtmlElement, value: Option<&::js_sys::Function>);
976 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onprogress")]
977 #[doc = "Getter for the `onprogress` field of this object."]
978 #[doc = ""]
979 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)"]
980 #[doc = ""]
981 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
982 pub fn onprogress(this: &HtmlElement) -> Option<::js_sys::Function>;
983 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onprogress")]
984 #[doc = "Setter for the `onprogress` field of this object."]
985 #[doc = ""]
986 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onprogress)"]
987 #[doc = ""]
988 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
989 pub fn set_onprogress(this: &HtmlElement, value: Option<&::js_sys::Function>);
990 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onratechange")]
991 #[doc = "Getter for the `onratechange` field of this object."]
992 #[doc = ""]
993 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)"]
994 #[doc = ""]
995 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
996 pub fn onratechange(this: &HtmlElement) -> Option<::js_sys::Function>;
997 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onratechange")]
998 #[doc = "Setter for the `onratechange` field of this object."]
999 #[doc = ""]
1000 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onratechange)"]
1001 #[doc = ""]
1002 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1003 pub fn set_onratechange(this: &HtmlElement, value: Option<&::js_sys::Function>);
1004 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onreset")]
1005 #[doc = "Getter for the `onreset` field of this object."]
1006 #[doc = ""]
1007 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)"]
1008 #[doc = ""]
1009 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1010 pub fn onreset(this: &HtmlElement) -> Option<::js_sys::Function>;
1011 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onreset")]
1012 #[doc = "Setter for the `onreset` field of this object."]
1013 #[doc = ""]
1014 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onreset)"]
1015 #[doc = ""]
1016 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1017 pub fn set_onreset(this: &HtmlElement, value: Option<&::js_sys::Function>);
1018 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onresize")]
1019 #[doc = "Getter for the `onresize` field of this object."]
1020 #[doc = ""]
1021 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)"]
1022 #[doc = ""]
1023 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1024 pub fn onresize(this: &HtmlElement) -> Option<::js_sys::Function>;
1025 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onresize")]
1026 #[doc = "Setter for the `onresize` field of this object."]
1027 #[doc = ""]
1028 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onresize)"]
1029 #[doc = ""]
1030 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1031 pub fn set_onresize(this: &HtmlElement, value: Option<&::js_sys::Function>);
1032 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onscroll")]
1033 #[doc = "Getter for the `onscroll` field of this object."]
1034 #[doc = ""]
1035 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)"]
1036 #[doc = ""]
1037 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1038 pub fn onscroll(this: &HtmlElement) -> Option<::js_sys::Function>;
1039 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onscroll")]
1040 #[doc = "Setter for the `onscroll` field of this object."]
1041 #[doc = ""]
1042 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onscroll)"]
1043 #[doc = ""]
1044 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1045 pub fn set_onscroll(this: &HtmlElement, value: Option<&::js_sys::Function>);
1046 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onseeked")]
1047 #[doc = "Getter for the `onseeked` field of this object."]
1048 #[doc = ""]
1049 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)"]
1050 #[doc = ""]
1051 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1052 pub fn onseeked(this: &HtmlElement) -> Option<::js_sys::Function>;
1053 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onseeked")]
1054 #[doc = "Setter for the `onseeked` field of this object."]
1055 #[doc = ""]
1056 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeked)"]
1057 #[doc = ""]
1058 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1059 pub fn set_onseeked(this: &HtmlElement, value: Option<&::js_sys::Function>);
1060 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onseeking")]
1061 #[doc = "Getter for the `onseeking` field of this object."]
1062 #[doc = ""]
1063 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)"]
1064 #[doc = ""]
1065 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1066 pub fn onseeking(this: &HtmlElement) -> Option<::js_sys::Function>;
1067 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onseeking")]
1068 #[doc = "Setter for the `onseeking` field of this object."]
1069 #[doc = ""]
1070 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onseeking)"]
1071 #[doc = ""]
1072 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1073 pub fn set_onseeking(this: &HtmlElement, value: Option<&::js_sys::Function>);
1074 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onselect")]
1075 #[doc = "Getter for the `onselect` field of this object."]
1076 #[doc = ""]
1077 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)"]
1078 #[doc = ""]
1079 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1080 pub fn onselect(this: &HtmlElement) -> Option<::js_sys::Function>;
1081 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onselect")]
1082 #[doc = "Setter for the `onselect` field of this object."]
1083 #[doc = ""]
1084 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselect)"]
1085 #[doc = ""]
1086 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1087 pub fn set_onselect(this: &HtmlElement, value: Option<&::js_sys::Function>);
1088 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onshow")]
1089 #[doc = "Getter for the `onshow` field of this object."]
1090 #[doc = ""]
1091 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)"]
1092 #[doc = ""]
1093 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1094 pub fn onshow(this: &HtmlElement) -> Option<::js_sys::Function>;
1095 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onshow")]
1096 #[doc = "Setter for the `onshow` field of this object."]
1097 #[doc = ""]
1098 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onshow)"]
1099 #[doc = ""]
1100 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1101 pub fn set_onshow(this: &HtmlElement, value: Option<&::js_sys::Function>);
1102 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onstalled")]
1103 #[doc = "Getter for the `onstalled` field of this object."]
1104 #[doc = ""]
1105 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)"]
1106 #[doc = ""]
1107 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1108 pub fn onstalled(this: &HtmlElement) -> Option<::js_sys::Function>;
1109 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onstalled")]
1110 #[doc = "Setter for the `onstalled` field of this object."]
1111 #[doc = ""]
1112 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onstalled)"]
1113 #[doc = ""]
1114 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1115 pub fn set_onstalled(this: &HtmlElement, value: Option<&::js_sys::Function>);
1116 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onsubmit")]
1117 #[doc = "Getter for the `onsubmit` field of this object."]
1118 #[doc = ""]
1119 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)"]
1120 #[doc = ""]
1121 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1122 pub fn onsubmit(this: &HtmlElement) -> Option<::js_sys::Function>;
1123 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onsubmit")]
1124 #[doc = "Setter for the `onsubmit` field of this object."]
1125 #[doc = ""]
1126 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsubmit)"]
1127 #[doc = ""]
1128 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1129 pub fn set_onsubmit(this: &HtmlElement, value: Option<&::js_sys::Function>);
1130 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onsuspend")]
1131 #[doc = "Getter for the `onsuspend` field of this object."]
1132 #[doc = ""]
1133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)"]
1134 #[doc = ""]
1135 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1136 pub fn onsuspend(this: &HtmlElement) -> Option<::js_sys::Function>;
1137 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onsuspend")]
1138 #[doc = "Setter for the `onsuspend` field of this object."]
1139 #[doc = ""]
1140 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onsuspend)"]
1141 #[doc = ""]
1142 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1143 pub fn set_onsuspend(this: &HtmlElement, value: Option<&::js_sys::Function>);
1144 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontimeupdate")]
1145 #[doc = "Getter for the `ontimeupdate` field of this object."]
1146 #[doc = ""]
1147 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)"]
1148 #[doc = ""]
1149 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1150 pub fn ontimeupdate(this: &HtmlElement) -> Option<::js_sys::Function>;
1151 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontimeupdate")]
1152 #[doc = "Setter for the `ontimeupdate` field of this object."]
1153 #[doc = ""]
1154 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontimeupdate)"]
1155 #[doc = ""]
1156 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1157 pub fn set_ontimeupdate(this: &HtmlElement, value: Option<&::js_sys::Function>);
1158 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onvolumechange")]
1159 #[doc = "Getter for the `onvolumechange` field of this object."]
1160 #[doc = ""]
1161 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)"]
1162 #[doc = ""]
1163 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1164 pub fn onvolumechange(this: &HtmlElement) -> Option<::js_sys::Function>;
1165 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onvolumechange")]
1166 #[doc = "Setter for the `onvolumechange` field of this object."]
1167 #[doc = ""]
1168 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onvolumechange)"]
1169 #[doc = ""]
1170 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1171 pub fn set_onvolumechange(this: &HtmlElement, value: Option<&::js_sys::Function>);
1172 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onwaiting")]
1173 #[doc = "Getter for the `onwaiting` field of this object."]
1174 #[doc = ""]
1175 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)"]
1176 #[doc = ""]
1177 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1178 pub fn onwaiting(this: &HtmlElement) -> Option<::js_sys::Function>;
1179 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onwaiting")]
1180 #[doc = "Setter for the `onwaiting` field of this object."]
1181 #[doc = ""]
1182 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwaiting)"]
1183 #[doc = ""]
1184 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1185 pub fn set_onwaiting(this: &HtmlElement, value: Option<&::js_sys::Function>);
1186 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onselectstart")]
1187 #[doc = "Getter for the `onselectstart` field of this object."]
1188 #[doc = ""]
1189 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)"]
1190 #[doc = ""]
1191 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1192 pub fn onselectstart(this: &HtmlElement) -> Option<::js_sys::Function>;
1193 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onselectstart")]
1194 #[doc = "Setter for the `onselectstart` field of this object."]
1195 #[doc = ""]
1196 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onselectstart)"]
1197 #[doc = ""]
1198 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1199 pub fn set_onselectstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
1200 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontoggle")]
1201 #[doc = "Getter for the `ontoggle` field of this object."]
1202 #[doc = ""]
1203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)"]
1204 #[doc = ""]
1205 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1206 pub fn ontoggle(this: &HtmlElement) -> Option<::js_sys::Function>;
1207 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontoggle")]
1208 #[doc = "Setter for the `ontoggle` field of this object."]
1209 #[doc = ""]
1210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontoggle)"]
1211 #[doc = ""]
1212 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1213 pub fn set_ontoggle(this: &HtmlElement, value: Option<&::js_sys::Function>);
1214 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointercancel")]
1215 #[doc = "Getter for the `onpointercancel` field of this object."]
1216 #[doc = ""]
1217 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)"]
1218 #[doc = ""]
1219 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1220 pub fn onpointercancel(this: &HtmlElement) -> Option<::js_sys::Function>;
1221 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointercancel")]
1222 #[doc = "Setter for the `onpointercancel` field of this object."]
1223 #[doc = ""]
1224 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointercancel)"]
1225 #[doc = ""]
1226 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1227 pub fn set_onpointercancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
1228 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointerdown")]
1229 #[doc = "Getter for the `onpointerdown` field of this object."]
1230 #[doc = ""]
1231 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)"]
1232 #[doc = ""]
1233 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1234 pub fn onpointerdown(this: &HtmlElement) -> Option<::js_sys::Function>;
1235 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointerdown")]
1236 #[doc = "Setter for the `onpointerdown` field of this object."]
1237 #[doc = ""]
1238 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerdown)"]
1239 #[doc = ""]
1240 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1241 pub fn set_onpointerdown(this: &HtmlElement, value: Option<&::js_sys::Function>);
1242 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointerup")]
1243 #[doc = "Getter for the `onpointerup` field of this object."]
1244 #[doc = ""]
1245 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)"]
1246 #[doc = ""]
1247 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1248 pub fn onpointerup(this: &HtmlElement) -> Option<::js_sys::Function>;
1249 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointerup")]
1250 #[doc = "Setter for the `onpointerup` field of this object."]
1251 #[doc = ""]
1252 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerup)"]
1253 #[doc = ""]
1254 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1255 pub fn set_onpointerup(this: &HtmlElement, value: Option<&::js_sys::Function>);
1256 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointermove")]
1257 #[doc = "Getter for the `onpointermove` field of this object."]
1258 #[doc = ""]
1259 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)"]
1260 #[doc = ""]
1261 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1262 pub fn onpointermove(this: &HtmlElement) -> Option<::js_sys::Function>;
1263 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointermove")]
1264 #[doc = "Setter for the `onpointermove` field of this object."]
1265 #[doc = ""]
1266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointermove)"]
1267 #[doc = ""]
1268 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1269 pub fn set_onpointermove(this: &HtmlElement, value: Option<&::js_sys::Function>);
1270 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointerout")]
1271 #[doc = "Getter for the `onpointerout` field of this object."]
1272 #[doc = ""]
1273 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)"]
1274 #[doc = ""]
1275 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1276 pub fn onpointerout(this: &HtmlElement) -> Option<::js_sys::Function>;
1277 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointerout")]
1278 #[doc = "Setter for the `onpointerout` field of this object."]
1279 #[doc = ""]
1280 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerout)"]
1281 #[doc = ""]
1282 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1283 pub fn set_onpointerout(this: &HtmlElement, value: Option<&::js_sys::Function>);
1284 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointerover")]
1285 #[doc = "Getter for the `onpointerover` field of this object."]
1286 #[doc = ""]
1287 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)"]
1288 #[doc = ""]
1289 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1290 pub fn onpointerover(this: &HtmlElement) -> Option<::js_sys::Function>;
1291 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointerover")]
1292 #[doc = "Setter for the `onpointerover` field of this object."]
1293 #[doc = ""]
1294 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerover)"]
1295 #[doc = ""]
1296 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1297 pub fn set_onpointerover(this: &HtmlElement, value: Option<&::js_sys::Function>);
1298 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointerenter")]
1299 #[doc = "Getter for the `onpointerenter` field of this object."]
1300 #[doc = ""]
1301 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)"]
1302 #[doc = ""]
1303 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1304 pub fn onpointerenter(this: &HtmlElement) -> Option<::js_sys::Function>;
1305 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointerenter")]
1306 #[doc = "Setter for the `onpointerenter` field of this object."]
1307 #[doc = ""]
1308 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerenter)"]
1309 #[doc = ""]
1310 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1311 pub fn set_onpointerenter(this: &HtmlElement, value: Option<&::js_sys::Function>);
1312 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onpointerleave")]
1313 #[doc = "Getter for the `onpointerleave` field of this object."]
1314 #[doc = ""]
1315 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)"]
1316 #[doc = ""]
1317 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1318 pub fn onpointerleave(this: &HtmlElement) -> Option<::js_sys::Function>;
1319 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onpointerleave")]
1320 #[doc = "Setter for the `onpointerleave` field of this object."]
1321 #[doc = ""]
1322 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onpointerleave)"]
1323 #[doc = ""]
1324 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1325 pub fn set_onpointerleave(this: &HtmlElement, value: Option<&::js_sys::Function>);
1326 #[wasm_bindgen(
1327 method,
1328 getter,
1329 js_class = "HTMLElement",
1330 js_name = "ongotpointercapture"
1331 )]
1332 #[doc = "Getter for the `ongotpointercapture` field of this object."]
1333 #[doc = ""]
1334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)"]
1335 #[doc = ""]
1336 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1337 pub fn ongotpointercapture(this: &HtmlElement) -> Option<::js_sys::Function>;
1338 #[wasm_bindgen(
1339 method,
1340 setter,
1341 js_class = "HTMLElement",
1342 js_name = "ongotpointercapture"
1343 )]
1344 #[doc = "Setter for the `ongotpointercapture` field of this object."]
1345 #[doc = ""]
1346 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ongotpointercapture)"]
1347 #[doc = ""]
1348 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1349 pub fn set_ongotpointercapture(this: &HtmlElement, value: Option<&::js_sys::Function>);
1350 #[wasm_bindgen(
1351 method,
1352 getter,
1353 js_class = "HTMLElement",
1354 js_name = "onlostpointercapture"
1355 )]
1356 #[doc = "Getter for the `onlostpointercapture` field of this object."]
1357 #[doc = ""]
1358 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)"]
1359 #[doc = ""]
1360 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1361 pub fn onlostpointercapture(this: &HtmlElement) -> Option<::js_sys::Function>;
1362 #[wasm_bindgen(
1363 method,
1364 setter,
1365 js_class = "HTMLElement",
1366 js_name = "onlostpointercapture"
1367 )]
1368 #[doc = "Setter for the `onlostpointercapture` field of this object."]
1369 #[doc = ""]
1370 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onlostpointercapture)"]
1371 #[doc = ""]
1372 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1373 pub fn set_onlostpointercapture(this: &HtmlElement, value: Option<&::js_sys::Function>);
1374 #[wasm_bindgen(
1375 method,
1376 getter,
1377 js_class = "HTMLElement",
1378 js_name = "onanimationcancel"
1379 )]
1380 #[doc = "Getter for the `onanimationcancel` field of this object."]
1381 #[doc = ""]
1382 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)"]
1383 #[doc = ""]
1384 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1385 pub fn onanimationcancel(this: &HtmlElement) -> Option<::js_sys::Function>;
1386 #[wasm_bindgen(
1387 method,
1388 setter,
1389 js_class = "HTMLElement",
1390 js_name = "onanimationcancel"
1391 )]
1392 #[doc = "Setter for the `onanimationcancel` field of this object."]
1393 #[doc = ""]
1394 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationcancel)"]
1395 #[doc = ""]
1396 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1397 pub fn set_onanimationcancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
1398 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onanimationend")]
1399 #[doc = "Getter for the `onanimationend` field of this object."]
1400 #[doc = ""]
1401 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)"]
1402 #[doc = ""]
1403 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1404 pub fn onanimationend(this: &HtmlElement) -> Option<::js_sys::Function>;
1405 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onanimationend")]
1406 #[doc = "Setter for the `onanimationend` field of this object."]
1407 #[doc = ""]
1408 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationend)"]
1409 #[doc = ""]
1410 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1411 pub fn set_onanimationend(this: &HtmlElement, value: Option<&::js_sys::Function>);
1412 #[wasm_bindgen(
1413 method,
1414 getter,
1415 js_class = "HTMLElement",
1416 js_name = "onanimationiteration"
1417 )]
1418 #[doc = "Getter for the `onanimationiteration` field of this object."]
1419 #[doc = ""]
1420 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)"]
1421 #[doc = ""]
1422 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1423 pub fn onanimationiteration(this: &HtmlElement) -> Option<::js_sys::Function>;
1424 #[wasm_bindgen(
1425 method,
1426 setter,
1427 js_class = "HTMLElement",
1428 js_name = "onanimationiteration"
1429 )]
1430 #[doc = "Setter for the `onanimationiteration` field of this object."]
1431 #[doc = ""]
1432 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationiteration)"]
1433 #[doc = ""]
1434 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1435 pub fn set_onanimationiteration(this: &HtmlElement, value: Option<&::js_sys::Function>);
1436 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onanimationstart")]
1437 #[doc = "Getter for the `onanimationstart` field of this object."]
1438 #[doc = ""]
1439 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)"]
1440 #[doc = ""]
1441 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1442 pub fn onanimationstart(this: &HtmlElement) -> Option<::js_sys::Function>;
1443 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onanimationstart")]
1444 #[doc = "Setter for the `onanimationstart` field of this object."]
1445 #[doc = ""]
1446 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onanimationstart)"]
1447 #[doc = ""]
1448 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1449 pub fn set_onanimationstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
1450 #[wasm_bindgen(
1451 method,
1452 getter,
1453 js_class = "HTMLElement",
1454 js_name = "ontransitioncancel"
1455 )]
1456 #[doc = "Getter for the `ontransitioncancel` field of this object."]
1457 #[doc = ""]
1458 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)"]
1459 #[doc = ""]
1460 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1461 pub fn ontransitioncancel(this: &HtmlElement) -> Option<::js_sys::Function>;
1462 #[wasm_bindgen(
1463 method,
1464 setter,
1465 js_class = "HTMLElement",
1466 js_name = "ontransitioncancel"
1467 )]
1468 #[doc = "Setter for the `ontransitioncancel` field of this object."]
1469 #[doc = ""]
1470 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitioncancel)"]
1471 #[doc = ""]
1472 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1473 pub fn set_ontransitioncancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
1474 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontransitionend")]
1475 #[doc = "Getter for the `ontransitionend` field of this object."]
1476 #[doc = ""]
1477 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)"]
1478 #[doc = ""]
1479 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1480 pub fn ontransitionend(this: &HtmlElement) -> Option<::js_sys::Function>;
1481 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontransitionend")]
1482 #[doc = "Setter for the `ontransitionend` field of this object."]
1483 #[doc = ""]
1484 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionend)"]
1485 #[doc = ""]
1486 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1487 pub fn set_ontransitionend(this: &HtmlElement, value: Option<&::js_sys::Function>);
1488 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontransitionrun")]
1489 #[doc = "Getter for the `ontransitionrun` field of this object."]
1490 #[doc = ""]
1491 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)"]
1492 #[doc = ""]
1493 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1494 pub fn ontransitionrun(this: &HtmlElement) -> Option<::js_sys::Function>;
1495 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontransitionrun")]
1496 #[doc = "Setter for the `ontransitionrun` field of this object."]
1497 #[doc = ""]
1498 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionrun)"]
1499 #[doc = ""]
1500 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1501 pub fn set_ontransitionrun(this: &HtmlElement, value: Option<&::js_sys::Function>);
1502 #[wasm_bindgen(
1503 method,
1504 getter,
1505 js_class = "HTMLElement",
1506 js_name = "ontransitionstart"
1507 )]
1508 #[doc = "Getter for the `ontransitionstart` field of this object."]
1509 #[doc = ""]
1510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)"]
1511 #[doc = ""]
1512 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1513 pub fn ontransitionstart(this: &HtmlElement) -> Option<::js_sys::Function>;
1514 #[wasm_bindgen(
1515 method,
1516 setter,
1517 js_class = "HTMLElement",
1518 js_name = "ontransitionstart"
1519 )]
1520 #[doc = "Setter for the `ontransitionstart` field of this object."]
1521 #[doc = ""]
1522 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontransitionstart)"]
1523 #[doc = ""]
1524 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1525 pub fn set_ontransitionstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
1526 #[wasm_bindgen(
1527 method,
1528 getter,
1529 js_class = "HTMLElement",
1530 js_name = "onwebkitanimationend"
1531 )]
1532 #[doc = "Getter for the `onwebkitanimationend` field of this object."]
1533 #[doc = ""]
1534 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)"]
1535 #[doc = ""]
1536 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1537 pub fn onwebkitanimationend(this: &HtmlElement) -> Option<::js_sys::Function>;
1538 #[wasm_bindgen(
1539 method,
1540 setter,
1541 js_class = "HTMLElement",
1542 js_name = "onwebkitanimationend"
1543 )]
1544 #[doc = "Setter for the `onwebkitanimationend` field of this object."]
1545 #[doc = ""]
1546 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationend)"]
1547 #[doc = ""]
1548 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1549 pub fn set_onwebkitanimationend(this: &HtmlElement, value: Option<&::js_sys::Function>);
1550 #[wasm_bindgen(
1551 method,
1552 getter,
1553 js_class = "HTMLElement",
1554 js_name = "onwebkitanimationiteration"
1555 )]
1556 #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
1557 #[doc = ""]
1558 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)"]
1559 #[doc = ""]
1560 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1561 pub fn onwebkitanimationiteration(this: &HtmlElement) -> Option<::js_sys::Function>;
1562 #[wasm_bindgen(
1563 method,
1564 setter,
1565 js_class = "HTMLElement",
1566 js_name = "onwebkitanimationiteration"
1567 )]
1568 #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
1569 #[doc = ""]
1570 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationiteration)"]
1571 #[doc = ""]
1572 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1573 pub fn set_onwebkitanimationiteration(this: &HtmlElement, value: Option<&::js_sys::Function>);
1574 #[wasm_bindgen(
1575 method,
1576 getter,
1577 js_class = "HTMLElement",
1578 js_name = "onwebkitanimationstart"
1579 )]
1580 #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
1581 #[doc = ""]
1582 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)"]
1583 #[doc = ""]
1584 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1585 pub fn onwebkitanimationstart(this: &HtmlElement) -> Option<::js_sys::Function>;
1586 #[wasm_bindgen(
1587 method,
1588 setter,
1589 js_class = "HTMLElement",
1590 js_name = "onwebkitanimationstart"
1591 )]
1592 #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
1593 #[doc = ""]
1594 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkitanimationstart)"]
1595 #[doc = ""]
1596 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1597 pub fn set_onwebkitanimationstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
1598 #[wasm_bindgen(
1599 method,
1600 getter,
1601 js_class = "HTMLElement",
1602 js_name = "onwebkittransitionend"
1603 )]
1604 #[doc = "Getter for the `onwebkittransitionend` field of this object."]
1605 #[doc = ""]
1606 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)"]
1607 #[doc = ""]
1608 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1609 pub fn onwebkittransitionend(this: &HtmlElement) -> Option<::js_sys::Function>;
1610 #[wasm_bindgen(
1611 method,
1612 setter,
1613 js_class = "HTMLElement",
1614 js_name = "onwebkittransitionend"
1615 )]
1616 #[doc = "Setter for the `onwebkittransitionend` field of this object."]
1617 #[doc = ""]
1618 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onwebkittransitionend)"]
1619 #[doc = ""]
1620 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1621 pub fn set_onwebkittransitionend(this: &HtmlElement, value: Option<&::js_sys::Function>);
1622 #[cfg(feature = "DomStringMap")]
1623 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "dataset")]
1624 #[doc = "Getter for the `dataset` field of this object."]
1625 #[doc = ""]
1626 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)"]
1627 #[doc = ""]
1628 #[doc = "*This API requires the following crate features to be activated: `DomStringMap`, `HtmlElement`*"]
1629 pub fn dataset(this: &HtmlElement) -> DomStringMap;
1630 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "nonce")]
1631 #[doc = "Getter for the `nonce` field of this object."]
1632 #[doc = ""]
1633 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/nonce)"]
1634 #[doc = ""]
1635 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1636 pub fn nonce(this: &HtmlElement) -> ::alloc::string::String;
1637 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "nonce")]
1638 #[doc = "Setter for the `nonce` field of this object."]
1639 #[doc = ""]
1640 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/nonce)"]
1641 #[doc = ""]
1642 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1643 pub fn set_nonce(this: &HtmlElement, value: &str);
1644 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "autofocus")]
1645 #[doc = "Getter for the `autofocus` field of this object."]
1646 #[doc = ""]
1647 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/autofocus)"]
1648 #[doc = ""]
1649 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1650 pub fn autofocus(this: &HtmlElement) -> bool;
1651 #[wasm_bindgen(catch, method, setter, js_class = "HTMLElement", js_name = "autofocus")]
1652 #[doc = "Setter for the `autofocus` field of this object."]
1653 #[doc = ""]
1654 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/autofocus)"]
1655 #[doc = ""]
1656 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1657 pub fn set_autofocus(this: &HtmlElement, value: bool) -> Result<(), JsValue>;
1658 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "tabIndex")]
1659 #[doc = "Getter for the `tabIndex` field of this object."]
1660 #[doc = ""]
1661 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)"]
1662 #[doc = ""]
1663 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1664 pub fn tab_index(this: &HtmlElement) -> i32;
1665 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "tabIndex")]
1666 #[doc = "Setter for the `tabIndex` field of this object."]
1667 #[doc = ""]
1668 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)"]
1669 #[doc = ""]
1670 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1671 pub fn set_tab_index(this: &HtmlElement, value: i32);
1672 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "onerror")]
1673 #[doc = "Getter for the `onerror` field of this object."]
1674 #[doc = ""]
1675 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)"]
1676 #[doc = ""]
1677 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1678 pub fn onerror(this: &HtmlElement) -> Option<::js_sys::Function>;
1679 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "onerror")]
1680 #[doc = "Setter for the `onerror` field of this object."]
1681 #[doc = ""]
1682 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/onerror)"]
1683 #[doc = ""]
1684 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1685 pub fn set_onerror(this: &HtmlElement, value: Option<&::js_sys::Function>);
1686 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontouchstart")]
1687 #[doc = "Getter for the `ontouchstart` field of this object."]
1688 #[doc = ""]
1689 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)"]
1690 #[doc = ""]
1691 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1692 pub fn ontouchstart(this: &HtmlElement) -> Option<::js_sys::Function>;
1693 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontouchstart")]
1694 #[doc = "Setter for the `ontouchstart` field of this object."]
1695 #[doc = ""]
1696 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchstart)"]
1697 #[doc = ""]
1698 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1699 pub fn set_ontouchstart(this: &HtmlElement, value: Option<&::js_sys::Function>);
1700 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontouchend")]
1701 #[doc = "Getter for the `ontouchend` field of this object."]
1702 #[doc = ""]
1703 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)"]
1704 #[doc = ""]
1705 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1706 pub fn ontouchend(this: &HtmlElement) -> Option<::js_sys::Function>;
1707 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontouchend")]
1708 #[doc = "Setter for the `ontouchend` field of this object."]
1709 #[doc = ""]
1710 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchend)"]
1711 #[doc = ""]
1712 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1713 pub fn set_ontouchend(this: &HtmlElement, value: Option<&::js_sys::Function>);
1714 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontouchmove")]
1715 #[doc = "Getter for the `ontouchmove` field of this object."]
1716 #[doc = ""]
1717 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)"]
1718 #[doc = ""]
1719 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1720 pub fn ontouchmove(this: &HtmlElement) -> Option<::js_sys::Function>;
1721 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontouchmove")]
1722 #[doc = "Setter for the `ontouchmove` field of this object."]
1723 #[doc = ""]
1724 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchmove)"]
1725 #[doc = ""]
1726 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1727 pub fn set_ontouchmove(this: &HtmlElement, value: Option<&::js_sys::Function>);
1728 #[wasm_bindgen(method, getter, js_class = "HTMLElement", js_name = "ontouchcancel")]
1729 #[doc = "Getter for the `ontouchcancel` field of this object."]
1730 #[doc = ""]
1731 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)"]
1732 #[doc = ""]
1733 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1734 pub fn ontouchcancel(this: &HtmlElement) -> Option<::js_sys::Function>;
1735 #[wasm_bindgen(method, setter, js_class = "HTMLElement", js_name = "ontouchcancel")]
1736 #[doc = "Setter for the `ontouchcancel` field of this object."]
1737 #[doc = ""]
1738 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/ontouchcancel)"]
1739 #[doc = ""]
1740 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1741 pub fn set_ontouchcancel(this: &HtmlElement, value: Option<&::js_sys::Function>);
1742 #[wasm_bindgen(catch, method, js_class = "HTMLElement")]
1743 #[doc = "The `blur()` method."]
1744 #[doc = ""]
1745 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/blur)"]
1746 #[doc = ""]
1747 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1748 pub fn blur(this: &HtmlElement) -> Result<(), JsValue>;
1749 #[wasm_bindgen(method, js_class = "HTMLElement")]
1750 #[doc = "The `click()` method."]
1751 #[doc = ""]
1752 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click)"]
1753 #[doc = ""]
1754 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1755 pub fn click(this: &HtmlElement);
1756 #[wasm_bindgen(catch, method, js_class = "HTMLElement")]
1757 #[doc = "The `focus()` method."]
1758 #[doc = ""]
1759 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus)"]
1760 #[doc = ""]
1761 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1762 pub fn focus(this: &HtmlElement) -> Result<(), JsValue>;
1763 #[cfg(feature = "FocusOptions")]
1764 #[wasm_bindgen(catch, method, js_class = "HTMLElement", js_name = "focus")]
1765 #[doc = "The `focus()` method."]
1766 #[doc = ""]
1767 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus)"]
1768 #[doc = ""]
1769 #[doc = "*This API requires the following crate features to be activated: `FocusOptions`, `HtmlElement`*"]
1770 pub fn focus_with_options(this: &HtmlElement, options: &FocusOptions) -> Result<(), JsValue>;
1771 #[wasm_bindgen(catch, method, js_class = "HTMLElement", js_name = "hidePopover")]
1772 #[doc = "The `hidePopover()` method."]
1773 #[doc = ""]
1774 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/hidePopover)"]
1775 #[doc = ""]
1776 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1777 pub fn hide_popover(this: &HtmlElement) -> Result<(), JsValue>;
1778 #[wasm_bindgen(catch, method, js_class = "HTMLElement", js_name = "showPopover")]
1779 #[doc = "The `showPopover()` method."]
1780 #[doc = ""]
1781 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/showPopover)"]
1782 #[doc = ""]
1783 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1784 pub fn show_popover(this: &HtmlElement) -> Result<(), JsValue>;
1785 #[cfg(feature = "ShowPopoverOptions")]
1786 #[wasm_bindgen(catch, method, js_class = "HTMLElement", js_name = "showPopover")]
1787 #[doc = "The `showPopover()` method."]
1788 #[doc = ""]
1789 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/showPopover)"]
1790 #[doc = ""]
1791 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`, `ShowPopoverOptions`*"]
1792 pub fn show_popover_with_options(
1793 this: &HtmlElement,
1794 options: &ShowPopoverOptions,
1795 ) -> Result<(), JsValue>;
1796 #[wasm_bindgen(catch, method, js_class = "HTMLElement", js_name = "togglePopover")]
1797 #[doc = "The `togglePopover()` method."]
1798 #[doc = ""]
1799 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/togglePopover)"]
1800 #[doc = ""]
1801 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1802 pub fn toggle_popover(this: &HtmlElement) -> Result<bool, JsValue>;
1803 #[wasm_bindgen(catch, method, js_class = "HTMLElement", js_name = "togglePopover")]
1804 #[doc = "The `togglePopover()` method."]
1805 #[doc = ""]
1806 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/togglePopover)"]
1807 #[doc = ""]
1808 #[doc = "*This API requires the following crate features to be activated: `HtmlElement`*"]
1809 pub fn toggle_popover_with_force(this: &HtmlElement, force: bool) -> Result<bool, JsValue>;
1810}