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