1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "HtmlElement",
9 extends = "Element",
10 extends = "Node",
11 extends = "EventTarget",
12 extends = "::js_sys::Object",
13 js_name = "HTMLBodyElement",
14 typescript_type = "HTMLBodyElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `HtmlBodyElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
22 pub type HtmlBodyElement;
23 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "text")]
24 #[doc = "Getter for the `text` field of this object."]
25 #[doc = ""]
26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)"]
27 #[doc = ""]
28 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
29 pub fn text(this: &HtmlBodyElement) -> ::alloc::string::String;
30 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "text")]
31 #[doc = "Setter for the `text` field of this object."]
32 #[doc = ""]
33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/text)"]
34 #[doc = ""]
35 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
36 pub fn set_text(this: &HtmlBodyElement, value: &str);
37 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "link")]
38 #[doc = "Getter for the `link` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
43 pub fn link(this: &HtmlBodyElement) -> ::alloc::string::String;
44 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "link")]
45 #[doc = "Setter for the `link` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/link)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
50 pub fn set_link(this: &HtmlBodyElement, value: &str);
51 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "vLink")]
52 #[doc = "Getter for the `vLink` field of this object."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
57 pub fn v_link(this: &HtmlBodyElement) -> ::alloc::string::String;
58 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "vLink")]
59 #[doc = "Setter for the `vLink` field of this object."]
60 #[doc = ""]
61 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/vLink)"]
62 #[doc = ""]
63 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
64 pub fn set_v_link(this: &HtmlBodyElement, value: &str);
65 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "aLink")]
66 #[doc = "Getter for the `aLink` field of this object."]
67 #[doc = ""]
68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)"]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
71 pub fn a_link(this: &HtmlBodyElement) -> ::alloc::string::String;
72 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "aLink")]
73 #[doc = "Setter for the `aLink` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/aLink)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
78 pub fn set_a_link(this: &HtmlBodyElement, value: &str);
79 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "bgColor")]
80 #[doc = "Getter for the `bgColor` field of this object."]
81 #[doc = ""]
82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)"]
83 #[doc = ""]
84 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
85 pub fn bg_color(this: &HtmlBodyElement) -> ::alloc::string::String;
86 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "bgColor")]
87 #[doc = "Setter for the `bgColor` field of this object."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/bgColor)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
92 pub fn set_bg_color(this: &HtmlBodyElement, value: &str);
93 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "background")]
94 #[doc = "Getter for the `background` field of this object."]
95 #[doc = ""]
96 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)"]
97 #[doc = ""]
98 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
99 pub fn background(this: &HtmlBodyElement) -> ::alloc::string::String;
100 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "background")]
101 #[doc = "Setter for the `background` field of this object."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/background)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
106 pub fn set_background(this: &HtmlBodyElement, value: &str);
107 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onafterprint")]
108 #[doc = "Getter for the `onafterprint` field of this object."]
109 #[doc = ""]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)"]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
113 pub fn onafterprint(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
114 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onafterprint")]
115 #[doc = "Setter for the `onafterprint` field of this object."]
116 #[doc = ""]
117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onafterprint)"]
118 #[doc = ""]
119 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
120 pub fn set_onafterprint(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
121 #[wasm_bindgen(
122 method,
123 getter,
124 js_class = "HTMLBodyElement",
125 js_name = "onbeforeprint"
126 )]
127 #[doc = "Getter for the `onbeforeprint` field of this object."]
128 #[doc = ""]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)"]
130 #[doc = ""]
131 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
132 pub fn onbeforeprint(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
133 #[wasm_bindgen(
134 method,
135 setter,
136 js_class = "HTMLBodyElement",
137 js_name = "onbeforeprint"
138 )]
139 #[doc = "Setter for the `onbeforeprint` field of this object."]
140 #[doc = ""]
141 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeprint)"]
142 #[doc = ""]
143 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
144 pub fn set_onbeforeprint(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
145 #[wasm_bindgen(
146 method,
147 getter,
148 js_class = "HTMLBodyElement",
149 js_name = "onbeforeunload"
150 )]
151 #[doc = "Getter for the `onbeforeunload` field of this object."]
152 #[doc = ""]
153 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)"]
154 #[doc = ""]
155 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
156 pub fn onbeforeunload(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
157 #[wasm_bindgen(
158 method,
159 setter,
160 js_class = "HTMLBodyElement",
161 js_name = "onbeforeunload"
162 )]
163 #[doc = "Setter for the `onbeforeunload` field of this object."]
164 #[doc = ""]
165 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onbeforeunload)"]
166 #[doc = ""]
167 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
168 pub fn set_onbeforeunload(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
169 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onhashchange")]
170 #[doc = "Getter for the `onhashchange` field of this object."]
171 #[doc = ""]
172 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)"]
173 #[doc = ""]
174 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
175 pub fn onhashchange(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
176 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onhashchange")]
177 #[doc = "Setter for the `onhashchange` field of this object."]
178 #[doc = ""]
179 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onhashchange)"]
180 #[doc = ""]
181 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
182 pub fn set_onhashchange(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
183 #[wasm_bindgen(
184 method,
185 getter,
186 js_class = "HTMLBodyElement",
187 js_name = "onlanguagechange"
188 )]
189 #[doc = "Getter for the `onlanguagechange` field of this object."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
194 pub fn onlanguagechange(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
195 #[wasm_bindgen(
196 method,
197 setter,
198 js_class = "HTMLBodyElement",
199 js_name = "onlanguagechange"
200 )]
201 #[doc = "Setter for the `onlanguagechange` field of this object."]
202 #[doc = ""]
203 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onlanguagechange)"]
204 #[doc = ""]
205 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
206 pub fn set_onlanguagechange(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
207 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onmessage")]
208 #[doc = "Getter for the `onmessage` field of this object."]
209 #[doc = ""]
210 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)"]
211 #[doc = ""]
212 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
213 pub fn onmessage(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
214 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onmessage")]
215 #[doc = "Setter for the `onmessage` field of this object."]
216 #[doc = ""]
217 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessage)"]
218 #[doc = ""]
219 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
220 pub fn set_onmessage(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
221 #[wasm_bindgen(
222 method,
223 getter,
224 js_class = "HTMLBodyElement",
225 js_name = "onmessageerror"
226 )]
227 #[doc = "Getter for the `onmessageerror` field of this object."]
228 #[doc = ""]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)"]
230 #[doc = ""]
231 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
232 pub fn onmessageerror(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
233 #[wasm_bindgen(
234 method,
235 setter,
236 js_class = "HTMLBodyElement",
237 js_name = "onmessageerror"
238 )]
239 #[doc = "Setter for the `onmessageerror` field of this object."]
240 #[doc = ""]
241 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onmessageerror)"]
242 #[doc = ""]
243 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
244 pub fn set_onmessageerror(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
245 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onoffline")]
246 #[doc = "Getter for the `onoffline` field of this object."]
247 #[doc = ""]
248 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)"]
249 #[doc = ""]
250 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
251 pub fn onoffline(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
252 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onoffline")]
253 #[doc = "Setter for the `onoffline` field of this object."]
254 #[doc = ""]
255 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onoffline)"]
256 #[doc = ""]
257 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
258 pub fn set_onoffline(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
259 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "ononline")]
260 #[doc = "Getter for the `ononline` field of this object."]
261 #[doc = ""]
262 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)"]
263 #[doc = ""]
264 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
265 pub fn ononline(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
266 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "ononline")]
267 #[doc = "Setter for the `ononline` field of this object."]
268 #[doc = ""]
269 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ononline)"]
270 #[doc = ""]
271 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
272 pub fn set_ononline(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
273 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onpagehide")]
274 #[doc = "Getter for the `onpagehide` field of this object."]
275 #[doc = ""]
276 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)"]
277 #[doc = ""]
278 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
279 pub fn onpagehide(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
280 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onpagehide")]
281 #[doc = "Setter for the `onpagehide` field of this object."]
282 #[doc = ""]
283 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpagehide)"]
284 #[doc = ""]
285 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
286 pub fn set_onpagehide(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
287 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onpageshow")]
288 #[doc = "Getter for the `onpageshow` field of this object."]
289 #[doc = ""]
290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)"]
291 #[doc = ""]
292 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
293 pub fn onpageshow(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
294 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onpageshow")]
295 #[doc = "Setter for the `onpageshow` field of this object."]
296 #[doc = ""]
297 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpageshow)"]
298 #[doc = ""]
299 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
300 pub fn set_onpageshow(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
301 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onpopstate")]
302 #[doc = "Getter for the `onpopstate` field of this object."]
303 #[doc = ""]
304 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)"]
305 #[doc = ""]
306 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
307 pub fn onpopstate(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
308 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onpopstate")]
309 #[doc = "Setter for the `onpopstate` field of this object."]
310 #[doc = ""]
311 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onpopstate)"]
312 #[doc = ""]
313 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
314 pub fn set_onpopstate(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
315 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onstorage")]
316 #[doc = "Getter for the `onstorage` field of this object."]
317 #[doc = ""]
318 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)"]
319 #[doc = ""]
320 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
321 pub fn onstorage(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
322 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onstorage")]
323 #[doc = "Setter for the `onstorage` field of this object."]
324 #[doc = ""]
325 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onstorage)"]
326 #[doc = ""]
327 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
328 pub fn set_onstorage(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
329 #[wasm_bindgen(method, getter, js_class = "HTMLBodyElement", js_name = "onunload")]
330 #[doc = "Getter for the `onunload` field of this object."]
331 #[doc = ""]
332 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)"]
333 #[doc = ""]
334 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
335 pub fn onunload(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
336 #[wasm_bindgen(method, setter, js_class = "HTMLBodyElement", js_name = "onunload")]
337 #[doc = "Setter for the `onunload` field of this object."]
338 #[doc = ""]
339 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/onunload)"]
340 #[doc = ""]
341 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
342 pub fn set_onunload(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
343 #[cfg(web_sys_unstable_apis)]
344 #[wasm_bindgen(
345 method,
346 getter,
347 js_class = "HTMLBodyElement",
348 js_name = "ongamepadconnected"
349 )]
350 #[doc = "Getter for the `ongamepadconnected` field of this object."]
351 #[doc = ""]
352 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ongamepadconnected)"]
353 #[doc = ""]
354 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
355 #[doc = ""]
356 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
357 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
358 pub fn ongamepadconnected(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
359 #[cfg(web_sys_unstable_apis)]
360 #[wasm_bindgen(
361 method,
362 setter,
363 js_class = "HTMLBodyElement",
364 js_name = "ongamepadconnected"
365 )]
366 #[doc = "Setter for the `ongamepadconnected` field of this object."]
367 #[doc = ""]
368 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ongamepadconnected)"]
369 #[doc = ""]
370 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
371 #[doc = ""]
372 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
373 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
374 pub fn set_ongamepadconnected(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
375 #[cfg(web_sys_unstable_apis)]
376 #[wasm_bindgen(
377 method,
378 getter,
379 js_class = "HTMLBodyElement",
380 js_name = "ongamepaddisconnected"
381 )]
382 #[doc = "Getter for the `ongamepaddisconnected` field of this object."]
383 #[doc = ""]
384 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ongamepaddisconnected)"]
385 #[doc = ""]
386 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
387 #[doc = ""]
388 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
389 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
390 pub fn ongamepaddisconnected(this: &HtmlBodyElement) -> Option<::js_sys::Function>;
391 #[cfg(web_sys_unstable_apis)]
392 #[wasm_bindgen(
393 method,
394 setter,
395 js_class = "HTMLBodyElement",
396 js_name = "ongamepaddisconnected"
397 )]
398 #[doc = "Setter for the `ongamepaddisconnected` field of this object."]
399 #[doc = ""]
400 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement/ongamepaddisconnected)"]
401 #[doc = ""]
402 #[doc = "*This API requires the following crate features to be activated: `HtmlBodyElement`*"]
403 #[doc = ""]
404 #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
405 #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
406 pub fn set_ongamepaddisconnected(this: &HtmlBodyElement, value: Option<&::js_sys::Function>);
407}