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