web_sys/features/
gen_HtmlFrameSetElement.rs

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