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