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 = HTMLObjectElement , typescript_type = "HTMLObjectElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlObjectElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
14 pub type HtmlObjectElement;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = data)]
16 #[doc = "Getter for the `data` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
21 pub fn data(this: &HtmlObjectElement) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = data)]
23 #[doc = "Setter for the `data` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/data)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
28 pub fn set_data(this: &HtmlObjectElement, value: &str);
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = type)]
30 #[doc = "Getter for the `type` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
35 pub fn type_(this: &HtmlObjectElement) -> ::alloc::string::String;
36 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = type)]
37 #[doc = "Setter for the `type` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/type)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
42 pub fn set_type(this: &HtmlObjectElement, value: &str);
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = typeMustMatch)]
44 #[doc = "Getter for the `typeMustMatch` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
49 pub fn type_must_match(this: &HtmlObjectElement) -> bool;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = typeMustMatch)]
51 #[doc = "Setter for the `typeMustMatch` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/typeMustMatch)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
56 pub fn set_type_must_match(this: &HtmlObjectElement, value: bool);
57 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = name)]
58 #[doc = "Getter for the `name` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
63 pub fn name(this: &HtmlObjectElement) -> ::alloc::string::String;
64 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = name)]
65 #[doc = "Setter for the `name` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/name)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
70 pub fn set_name(this: &HtmlObjectElement, value: &str);
71 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = useMap)]
72 #[doc = "Getter for the `useMap` field of this object."]
73 #[doc = ""]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
77 pub fn use_map(this: &HtmlObjectElement) -> ::alloc::string::String;
78 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = useMap)]
79 #[doc = "Setter for the `useMap` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/useMap)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
84 pub fn set_use_map(this: &HtmlObjectElement, value: &str);
85 #[cfg(feature = "HtmlFormElement")]
86 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = form)]
87 #[doc = "Getter for the `form` field of this object."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/form)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlObjectElement`*"]
92 pub fn form(this: &HtmlObjectElement) -> Option<HtmlFormElement>;
93 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = width)]
94 #[doc = "Getter for the `width` field of this object."]
95 #[doc = ""]
96 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)"]
97 #[doc = ""]
98 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
99 pub fn width(this: &HtmlObjectElement) -> ::alloc::string::String;
100 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = width)]
101 #[doc = "Setter for the `width` field of this object."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/width)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
106 pub fn set_width(this: &HtmlObjectElement, value: &str);
107 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = height)]
108 #[doc = "Getter for the `height` field of this object."]
109 #[doc = ""]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)"]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
113 pub fn height(this: &HtmlObjectElement) -> ::alloc::string::String;
114 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = height)]
115 #[doc = "Setter for the `height` field of this object."]
116 #[doc = ""]
117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/height)"]
118 #[doc = ""]
119 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
120 pub fn set_height(this: &HtmlObjectElement, value: &str);
121 #[cfg(feature = "Document")]
122 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = contentDocument)]
123 #[doc = "Getter for the `contentDocument` field of this object."]
124 #[doc = ""]
125 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentDocument)"]
126 #[doc = ""]
127 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*"]
128 pub fn content_document(this: &HtmlObjectElement) -> Option<Document>;
129 #[cfg(feature = "Window")]
130 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = contentWindow)]
131 #[doc = "Getter for the `contentWindow` field of this object."]
132 #[doc = ""]
133 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/contentWindow)"]
134 #[doc = ""]
135 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`, `Window`*"]
136 pub fn content_window(this: &HtmlObjectElement) -> Option<Window>;
137 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = willValidate)]
138 #[doc = "Getter for the `willValidate` field of this object."]
139 #[doc = ""]
140 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/willValidate)"]
141 #[doc = ""]
142 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
143 pub fn will_validate(this: &HtmlObjectElement) -> bool;
144 #[cfg(feature = "ValidityState")]
145 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = validity)]
146 #[doc = "Getter for the `validity` field of this object."]
147 #[doc = ""]
148 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity)"]
149 #[doc = ""]
150 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`, `ValidityState`*"]
151 pub fn validity(this: &HtmlObjectElement) -> ValidityState;
152 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLObjectElement" , js_name = validationMessage)]
153 #[doc = "Getter for the `validationMessage` field of this object."]
154 #[doc = ""]
155 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validationMessage)"]
156 #[doc = ""]
157 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
158 pub fn validation_message(this: &HtmlObjectElement)
159 -> Result<::alloc::string::String, JsValue>;
160 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = align)]
161 #[doc = "Getter for the `align` field of this object."]
162 #[doc = ""]
163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)"]
164 #[doc = ""]
165 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
166 pub fn align(this: &HtmlObjectElement) -> ::alloc::string::String;
167 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = align)]
168 #[doc = "Setter for the `align` field of this object."]
169 #[doc = ""]
170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/align)"]
171 #[doc = ""]
172 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
173 pub fn set_align(this: &HtmlObjectElement, value: &str);
174 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = archive)]
175 #[doc = "Getter for the `archive` field of this object."]
176 #[doc = ""]
177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)"]
178 #[doc = ""]
179 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
180 pub fn archive(this: &HtmlObjectElement) -> ::alloc::string::String;
181 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = archive)]
182 #[doc = "Setter for the `archive` field of this object."]
183 #[doc = ""]
184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/archive)"]
185 #[doc = ""]
186 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
187 pub fn set_archive(this: &HtmlObjectElement, value: &str);
188 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = code)]
189 #[doc = "Getter for the `code` field of this object."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
194 pub fn code(this: &HtmlObjectElement) -> ::alloc::string::String;
195 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = code)]
196 #[doc = "Setter for the `code` field of this object."]
197 #[doc = ""]
198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/code)"]
199 #[doc = ""]
200 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
201 pub fn set_code(this: &HtmlObjectElement, value: &str);
202 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = declare)]
203 #[doc = "Getter for the `declare` field of this object."]
204 #[doc = ""]
205 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)"]
206 #[doc = ""]
207 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
208 pub fn declare(this: &HtmlObjectElement) -> bool;
209 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = declare)]
210 #[doc = "Setter for the `declare` field of this object."]
211 #[doc = ""]
212 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/declare)"]
213 #[doc = ""]
214 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
215 pub fn set_declare(this: &HtmlObjectElement, value: bool);
216 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = hspace)]
217 #[doc = "Getter for the `hspace` field of this object."]
218 #[doc = ""]
219 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)"]
220 #[doc = ""]
221 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
222 pub fn hspace(this: &HtmlObjectElement) -> u32;
223 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = hspace)]
224 #[doc = "Setter for the `hspace` field of this object."]
225 #[doc = ""]
226 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/hspace)"]
227 #[doc = ""]
228 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
229 pub fn set_hspace(this: &HtmlObjectElement, value: u32);
230 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = standby)]
231 #[doc = "Getter for the `standby` field of this object."]
232 #[doc = ""]
233 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)"]
234 #[doc = ""]
235 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
236 pub fn standby(this: &HtmlObjectElement) -> ::alloc::string::String;
237 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = standby)]
238 #[doc = "Setter for the `standby` field of this object."]
239 #[doc = ""]
240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/standby)"]
241 #[doc = ""]
242 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
243 pub fn set_standby(this: &HtmlObjectElement, value: &str);
244 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = vspace)]
245 #[doc = "Getter for the `vspace` field of this object."]
246 #[doc = ""]
247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)"]
248 #[doc = ""]
249 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
250 pub fn vspace(this: &HtmlObjectElement) -> u32;
251 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = vspace)]
252 #[doc = "Setter for the `vspace` field of this object."]
253 #[doc = ""]
254 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/vspace)"]
255 #[doc = ""]
256 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
257 pub fn set_vspace(this: &HtmlObjectElement, value: u32);
258 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = codeBase)]
259 #[doc = "Getter for the `codeBase` field of this object."]
260 #[doc = ""]
261 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)"]
262 #[doc = ""]
263 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
264 pub fn code_base(this: &HtmlObjectElement) -> ::alloc::string::String;
265 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = codeBase)]
266 #[doc = "Setter for the `codeBase` field of this object."]
267 #[doc = ""]
268 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeBase)"]
269 #[doc = ""]
270 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
271 pub fn set_code_base(this: &HtmlObjectElement, value: &str);
272 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = codeType)]
273 #[doc = "Getter for the `codeType` field of this object."]
274 #[doc = ""]
275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)"]
276 #[doc = ""]
277 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
278 pub fn code_type(this: &HtmlObjectElement) -> ::alloc::string::String;
279 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = codeType)]
280 #[doc = "Setter for the `codeType` field of this object."]
281 #[doc = ""]
282 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/codeType)"]
283 #[doc = ""]
284 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
285 pub fn set_code_type(this: &HtmlObjectElement, value: &str);
286 # [wasm_bindgen (structural , method , getter , js_class = "HTMLObjectElement" , js_name = border)]
287 #[doc = "Getter for the `border` field of this object."]
288 #[doc = ""]
289 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)"]
290 #[doc = ""]
291 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
292 pub fn border(this: &HtmlObjectElement) -> ::alloc::string::String;
293 # [wasm_bindgen (structural , method , setter , js_class = "HTMLObjectElement" , js_name = border)]
294 #[doc = "Setter for the `border` field of this object."]
295 #[doc = ""]
296 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/border)"]
297 #[doc = ""]
298 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
299 pub fn set_border(this: &HtmlObjectElement, value: &str);
300 # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = checkValidity)]
301 #[doc = "The `checkValidity()` method."]
302 #[doc = ""]
303 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/checkValidity)"]
304 #[doc = ""]
305 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
306 pub fn check_validity(this: &HtmlObjectElement) -> bool;
307 #[cfg(feature = "Document")]
308 # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = getSVGDocument)]
309 #[doc = "The `getSVGDocument()` method."]
310 #[doc = ""]
311 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/getSVGDocument)"]
312 #[doc = ""]
313 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlObjectElement`*"]
314 pub fn get_svg_document(this: &HtmlObjectElement) -> Option<Document>;
315 # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = reportValidity)]
316 #[doc = "The `reportValidity()` method."]
317 #[doc = ""]
318 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/reportValidity)"]
319 #[doc = ""]
320 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
321 pub fn report_validity(this: &HtmlObjectElement) -> bool;
322 # [wasm_bindgen (method , structural , js_class = "HTMLObjectElement" , js_name = setCustomValidity)]
323 #[doc = "The `setCustomValidity()` method."]
324 #[doc = ""]
325 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/setCustomValidity)"]
326 #[doc = ""]
327 #[doc = "*This API requires the following crate features to be activated: `HtmlObjectElement`*"]
328 pub fn set_custom_validity(this: &HtmlObjectElement, error: &str);
329}