Skip to main content

web_sys/features/
gen_HtmlInputElement.rs

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 = "HTMLInputElement",
14        typescript_type = "HTMLInputElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `HtmlInputElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
22    pub type HtmlInputElement;
23    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "accept")]
24    #[doc = "Getter for the `accept` field of this object."]
25    #[doc = ""]
26    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"]
27    #[doc = ""]
28    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
29    pub fn accept(this: &HtmlInputElement) -> ::alloc::string::String;
30    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "accept")]
31    #[doc = "Setter for the `accept` field of this object."]
32    #[doc = ""]
33    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"]
34    #[doc = ""]
35    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
36    pub fn set_accept(this: &HtmlInputElement, value: &str);
37    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "alt")]
38    #[doc = "Getter for the `alt` field of this object."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
43    pub fn alt(this: &HtmlInputElement) -> ::alloc::string::String;
44    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "alt")]
45    #[doc = "Setter for the `alt` field of this object."]
46    #[doc = ""]
47    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"]
48    #[doc = ""]
49    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
50    pub fn set_alt(this: &HtmlInputElement, value: &str);
51    #[wasm_bindgen(
52        method,
53        getter,
54        js_class = "HTMLInputElement",
55        js_name = "autocomplete"
56    )]
57    #[doc = "Getter for the `autocomplete` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
62    pub fn autocomplete(this: &HtmlInputElement) -> ::alloc::string::String;
63    #[wasm_bindgen(
64        method,
65        setter,
66        js_class = "HTMLInputElement",
67        js_name = "autocomplete"
68    )]
69    #[doc = "Setter for the `autocomplete` field of this object."]
70    #[doc = ""]
71    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"]
72    #[doc = ""]
73    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
74    pub fn set_autocomplete(this: &HtmlInputElement, value: &str);
75    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "autofocus")]
76    #[doc = "Getter for the `autofocus` field of this object."]
77    #[doc = ""]
78    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"]
79    #[doc = ""]
80    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
81    #[deprecated(
82        note = "Use `HtmlElement::autofocus()` or `HtmlElement::set_autofocus()` instead."
83    )]
84    pub fn autofocus(this: &HtmlInputElement) -> bool;
85    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "autofocus")]
86    #[doc = "Setter for the `autofocus` field of this object."]
87    #[doc = ""]
88    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
91    #[deprecated(
92        note = "Use `HtmlElement::autofocus()` or `HtmlElement::set_autofocus()` instead."
93    )]
94    pub fn set_autofocus(this: &HtmlInputElement, value: bool);
95    #[wasm_bindgen(
96        method,
97        getter,
98        js_class = "HTMLInputElement",
99        js_name = "defaultChecked"
100    )]
101    #[doc = "Getter for the `defaultChecked` field of this object."]
102    #[doc = ""]
103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"]
104    #[doc = ""]
105    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
106    pub fn default_checked(this: &HtmlInputElement) -> bool;
107    #[wasm_bindgen(
108        method,
109        setter,
110        js_class = "HTMLInputElement",
111        js_name = "defaultChecked"
112    )]
113    #[doc = "Setter for the `defaultChecked` field of this object."]
114    #[doc = ""]
115    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"]
116    #[doc = ""]
117    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
118    pub fn set_default_checked(this: &HtmlInputElement, value: bool);
119    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "checked")]
120    #[doc = "Getter for the `checked` field of this object."]
121    #[doc = ""]
122    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"]
123    #[doc = ""]
124    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
125    pub fn checked(this: &HtmlInputElement) -> bool;
126    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "checked")]
127    #[doc = "Setter for the `checked` field of this object."]
128    #[doc = ""]
129    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"]
130    #[doc = ""]
131    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
132    pub fn set_checked(this: &HtmlInputElement, value: bool);
133    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "disabled")]
134    #[doc = "Getter for the `disabled` field of this object."]
135    #[doc = ""]
136    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"]
137    #[doc = ""]
138    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
139    pub fn disabled(this: &HtmlInputElement) -> bool;
140    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "disabled")]
141    #[doc = "Setter for the `disabled` field of this object."]
142    #[doc = ""]
143    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"]
144    #[doc = ""]
145    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
146    pub fn set_disabled(this: &HtmlInputElement, value: bool);
147    #[cfg(feature = "HtmlFormElement")]
148    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "form")]
149    #[doc = "Getter for the `form` field of this object."]
150    #[doc = ""]
151    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/form)"]
152    #[doc = ""]
153    #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*"]
154    pub fn form(this: &HtmlInputElement) -> Option<HtmlFormElement>;
155    #[cfg(feature = "FileList")]
156    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "files")]
157    #[doc = "Getter for the `files` field of this object."]
158    #[doc = ""]
159    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"]
160    #[doc = ""]
161    #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"]
162    pub fn files(this: &HtmlInputElement) -> Option<FileList>;
163    #[cfg(feature = "FileList")]
164    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "files")]
165    #[doc = "Setter for the `files` field of this object."]
166    #[doc = ""]
167    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"]
168    #[doc = ""]
169    #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"]
170    pub fn set_files(this: &HtmlInputElement, value: Option<&FileList>);
171    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "formAction")]
172    #[doc = "Getter for the `formAction` field of this object."]
173    #[doc = ""]
174    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"]
175    #[doc = ""]
176    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
177    pub fn form_action(this: &HtmlInputElement) -> ::alloc::string::String;
178    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "formAction")]
179    #[doc = "Setter for the `formAction` field of this object."]
180    #[doc = ""]
181    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"]
182    #[doc = ""]
183    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
184    pub fn set_form_action(this: &HtmlInputElement, value: &str);
185    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "formEnctype")]
186    #[doc = "Getter for the `formEnctype` field of this object."]
187    #[doc = ""]
188    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"]
189    #[doc = ""]
190    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
191    pub fn form_enctype(this: &HtmlInputElement) -> ::alloc::string::String;
192    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "formEnctype")]
193    #[doc = "Setter for the `formEnctype` field of this object."]
194    #[doc = ""]
195    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"]
196    #[doc = ""]
197    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
198    pub fn set_form_enctype(this: &HtmlInputElement, value: &str);
199    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "formMethod")]
200    #[doc = "Getter for the `formMethod` field of this object."]
201    #[doc = ""]
202    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"]
203    #[doc = ""]
204    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
205    pub fn form_method(this: &HtmlInputElement) -> ::alloc::string::String;
206    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "formMethod")]
207    #[doc = "Setter for the `formMethod` field of this object."]
208    #[doc = ""]
209    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"]
210    #[doc = ""]
211    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
212    pub fn set_form_method(this: &HtmlInputElement, value: &str);
213    #[wasm_bindgen(
214        method,
215        getter,
216        js_class = "HTMLInputElement",
217        js_name = "formNoValidate"
218    )]
219    #[doc = "Getter for the `formNoValidate` field of this object."]
220    #[doc = ""]
221    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"]
222    #[doc = ""]
223    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
224    pub fn form_no_validate(this: &HtmlInputElement) -> bool;
225    #[wasm_bindgen(
226        method,
227        setter,
228        js_class = "HTMLInputElement",
229        js_name = "formNoValidate"
230    )]
231    #[doc = "Setter for the `formNoValidate` field of this object."]
232    #[doc = ""]
233    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"]
234    #[doc = ""]
235    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
236    pub fn set_form_no_validate(this: &HtmlInputElement, value: bool);
237    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "formTarget")]
238    #[doc = "Getter for the `formTarget` field of this object."]
239    #[doc = ""]
240    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"]
241    #[doc = ""]
242    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
243    pub fn form_target(this: &HtmlInputElement) -> ::alloc::string::String;
244    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "formTarget")]
245    #[doc = "Setter for the `formTarget` field of this object."]
246    #[doc = ""]
247    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"]
248    #[doc = ""]
249    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
250    pub fn set_form_target(this: &HtmlInputElement, value: &str);
251    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "height")]
252    #[doc = "Getter for the `height` field of this object."]
253    #[doc = ""]
254    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"]
255    #[doc = ""]
256    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
257    pub fn height(this: &HtmlInputElement) -> u32;
258    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "height")]
259    #[doc = "Setter for the `height` field of this object."]
260    #[doc = ""]
261    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"]
262    #[doc = ""]
263    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
264    pub fn set_height(this: &HtmlInputElement, value: u32);
265    #[wasm_bindgen(
266        method,
267        getter,
268        js_class = "HTMLInputElement",
269        js_name = "indeterminate"
270    )]
271    #[doc = "Getter for the `indeterminate` field of this object."]
272    #[doc = ""]
273    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"]
274    #[doc = ""]
275    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
276    pub fn indeterminate(this: &HtmlInputElement) -> bool;
277    #[wasm_bindgen(
278        method,
279        setter,
280        js_class = "HTMLInputElement",
281        js_name = "indeterminate"
282    )]
283    #[doc = "Setter for the `indeterminate` field of this object."]
284    #[doc = ""]
285    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"]
286    #[doc = ""]
287    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
288    pub fn set_indeterminate(this: &HtmlInputElement, value: bool);
289    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "inputMode")]
290    #[doc = "Getter for the `inputMode` field of this object."]
291    #[doc = ""]
292    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"]
293    #[doc = ""]
294    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
295    pub fn input_mode(this: &HtmlInputElement) -> ::alloc::string::String;
296    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "inputMode")]
297    #[doc = "Setter for the `inputMode` field of this object."]
298    #[doc = ""]
299    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"]
300    #[doc = ""]
301    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
302    pub fn set_input_mode(this: &HtmlInputElement, value: &str);
303    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "list")]
304    #[doc = "Getter for the `list` field of this object."]
305    #[doc = ""]
306    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/list)"]
307    #[doc = ""]
308    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
309    pub fn list(this: &HtmlInputElement) -> Option<HtmlElement>;
310    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "max")]
311    #[doc = "Getter for the `max` field of this object."]
312    #[doc = ""]
313    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"]
314    #[doc = ""]
315    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
316    pub fn max(this: &HtmlInputElement) -> ::alloc::string::String;
317    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "max")]
318    #[doc = "Setter for the `max` field of this object."]
319    #[doc = ""]
320    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"]
321    #[doc = ""]
322    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
323    pub fn set_max(this: &HtmlInputElement, value: &str);
324    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "maxLength")]
325    #[doc = "Getter for the `maxLength` field of this object."]
326    #[doc = ""]
327    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"]
328    #[doc = ""]
329    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
330    pub fn max_length(this: &HtmlInputElement) -> i32;
331    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "maxLength")]
332    #[doc = "Setter for the `maxLength` field of this object."]
333    #[doc = ""]
334    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"]
335    #[doc = ""]
336    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
337    pub fn set_max_length(this: &HtmlInputElement, value: i32);
338    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "min")]
339    #[doc = "Getter for the `min` field of this object."]
340    #[doc = ""]
341    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"]
342    #[doc = ""]
343    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
344    pub fn min(this: &HtmlInputElement) -> ::alloc::string::String;
345    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "min")]
346    #[doc = "Setter for the `min` field of this object."]
347    #[doc = ""]
348    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"]
349    #[doc = ""]
350    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
351    pub fn set_min(this: &HtmlInputElement, value: &str);
352    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "minLength")]
353    #[doc = "Getter for the `minLength` field of this object."]
354    #[doc = ""]
355    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"]
356    #[doc = ""]
357    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
358    pub fn min_length(this: &HtmlInputElement) -> i32;
359    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "minLength")]
360    #[doc = "Setter for the `minLength` field of this object."]
361    #[doc = ""]
362    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"]
363    #[doc = ""]
364    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
365    pub fn set_min_length(this: &HtmlInputElement, value: i32);
366    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "multiple")]
367    #[doc = "Getter for the `multiple` field of this object."]
368    #[doc = ""]
369    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"]
370    #[doc = ""]
371    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
372    pub fn multiple(this: &HtmlInputElement) -> bool;
373    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "multiple")]
374    #[doc = "Setter for the `multiple` field of this object."]
375    #[doc = ""]
376    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"]
377    #[doc = ""]
378    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
379    pub fn set_multiple(this: &HtmlInputElement, value: bool);
380    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "name")]
381    #[doc = "Getter for the `name` field of this object."]
382    #[doc = ""]
383    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)"]
384    #[doc = ""]
385    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
386    pub fn name(this: &HtmlInputElement) -> ::alloc::string::String;
387    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "name")]
388    #[doc = "Setter for the `name` field of this object."]
389    #[doc = ""]
390    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)"]
391    #[doc = ""]
392    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
393    pub fn set_name(this: &HtmlInputElement, value: &str);
394    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "pattern")]
395    #[doc = "Getter for the `pattern` field of this object."]
396    #[doc = ""]
397    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"]
398    #[doc = ""]
399    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
400    pub fn pattern(this: &HtmlInputElement) -> ::alloc::string::String;
401    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "pattern")]
402    #[doc = "Setter for the `pattern` field of this object."]
403    #[doc = ""]
404    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"]
405    #[doc = ""]
406    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
407    pub fn set_pattern(this: &HtmlInputElement, value: &str);
408    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "placeholder")]
409    #[doc = "Getter for the `placeholder` field of this object."]
410    #[doc = ""]
411    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"]
412    #[doc = ""]
413    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
414    pub fn placeholder(this: &HtmlInputElement) -> ::alloc::string::String;
415    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "placeholder")]
416    #[doc = "Setter for the `placeholder` field of this object."]
417    #[doc = ""]
418    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"]
419    #[doc = ""]
420    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
421    pub fn set_placeholder(this: &HtmlInputElement, value: &str);
422    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "readOnly")]
423    #[doc = "Getter for the `readOnly` field of this object."]
424    #[doc = ""]
425    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"]
426    #[doc = ""]
427    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
428    pub fn read_only(this: &HtmlInputElement) -> bool;
429    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "readOnly")]
430    #[doc = "Setter for the `readOnly` field of this object."]
431    #[doc = ""]
432    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"]
433    #[doc = ""]
434    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
435    pub fn set_read_only(this: &HtmlInputElement, value: bool);
436    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "required")]
437    #[doc = "Getter for the `required` field of this object."]
438    #[doc = ""]
439    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"]
440    #[doc = ""]
441    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
442    pub fn required(this: &HtmlInputElement) -> bool;
443    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "required")]
444    #[doc = "Setter for the `required` field of this object."]
445    #[doc = ""]
446    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"]
447    #[doc = ""]
448    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
449    pub fn set_required(this: &HtmlInputElement, value: bool);
450    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "size")]
451    #[doc = "Getter for the `size` field of this object."]
452    #[doc = ""]
453    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"]
454    #[doc = ""]
455    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
456    pub fn size(this: &HtmlInputElement) -> u32;
457    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "size")]
458    #[doc = "Setter for the `size` field of this object."]
459    #[doc = ""]
460    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"]
461    #[doc = ""]
462    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
463    pub fn set_size(this: &HtmlInputElement, value: u32);
464    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "src")]
465    #[doc = "Getter for the `src` field of this object."]
466    #[doc = ""]
467    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"]
468    #[doc = ""]
469    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
470    pub fn src(this: &HtmlInputElement) -> ::alloc::string::String;
471    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "src")]
472    #[doc = "Setter for the `src` field of this object."]
473    #[doc = ""]
474    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"]
475    #[doc = ""]
476    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
477    pub fn set_src(this: &HtmlInputElement, value: &str);
478    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "step")]
479    #[doc = "Getter for the `step` field of this object."]
480    #[doc = ""]
481    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"]
482    #[doc = ""]
483    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
484    pub fn step(this: &HtmlInputElement) -> ::alloc::string::String;
485    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "step")]
486    #[doc = "Setter for the `step` field of this object."]
487    #[doc = ""]
488    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"]
489    #[doc = ""]
490    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
491    pub fn set_step(this: &HtmlInputElement, value: &str);
492    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "type")]
493    #[doc = "Getter for the `type` field of this object."]
494    #[doc = ""]
495    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)"]
496    #[doc = ""]
497    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
498    pub fn type_(this: &HtmlInputElement) -> ::alloc::string::String;
499    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "type")]
500    #[doc = "Setter for the `type` field of this object."]
501    #[doc = ""]
502    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)"]
503    #[doc = ""]
504    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
505    pub fn set_type(this: &HtmlInputElement, value: &str);
506    #[wasm_bindgen(
507        method,
508        getter,
509        js_class = "HTMLInputElement",
510        js_name = "defaultValue"
511    )]
512    #[doc = "Getter for the `defaultValue` field of this object."]
513    #[doc = ""]
514    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)"]
515    #[doc = ""]
516    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
517    pub fn default_value(this: &HtmlInputElement) -> ::alloc::string::String;
518    #[wasm_bindgen(
519        method,
520        setter,
521        js_class = "HTMLInputElement",
522        js_name = "defaultValue"
523    )]
524    #[doc = "Setter for the `defaultValue` field of this object."]
525    #[doc = ""]
526    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)"]
527    #[doc = ""]
528    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
529    pub fn set_default_value(this: &HtmlInputElement, value: &str);
530    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "value")]
531    #[doc = "Getter for the `value` field of this object."]
532    #[doc = ""]
533    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)"]
534    #[doc = ""]
535    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
536    pub fn value(this: &HtmlInputElement) -> ::alloc::string::String;
537    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "value")]
538    #[doc = "Setter for the `value` field of this object."]
539    #[doc = ""]
540    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)"]
541    #[doc = ""]
542    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
543    pub fn set_value(this: &HtmlInputElement, value: &str);
544    #[wasm_bindgen(
545        catch,
546        method,
547        getter,
548        js_class = "HTMLInputElement",
549        js_name = "valueAsDate"
550    )]
551    #[doc = "Getter for the `valueAsDate` field of this object."]
552    #[doc = ""]
553    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsDate)"]
554    #[doc = ""]
555    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
556    pub fn value_as_date(this: &HtmlInputElement) -> Result<Option<::js_sys::Date>, JsValue>;
557    #[wasm_bindgen(
558        catch,
559        method,
560        setter,
561        js_class = "HTMLInputElement",
562        js_name = "valueAsDate"
563    )]
564    #[doc = "Setter for the `valueAsDate` field of this object."]
565    #[doc = ""]
566    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsDate)"]
567    #[doc = ""]
568    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
569    pub fn set_value_as_date(
570        this: &HtmlInputElement,
571        value: Option<&::js_sys::Date>,
572    ) -> Result<(), JsValue>;
573    #[wasm_bindgen(
574        method,
575        getter,
576        js_class = "HTMLInputElement",
577        js_name = "valueAsNumber"
578    )]
579    #[doc = "Getter for the `valueAsNumber` field of this object."]
580    #[doc = ""]
581    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
582    #[doc = ""]
583    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
584    pub fn value_as_number(this: &HtmlInputElement) -> f64;
585    #[wasm_bindgen(
586        method,
587        setter,
588        js_class = "HTMLInputElement",
589        js_name = "valueAsNumber"
590    )]
591    #[doc = "Setter for the `valueAsNumber` field of this object."]
592    #[doc = ""]
593    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
594    #[doc = ""]
595    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
596    pub fn set_value_as_number(this: &HtmlInputElement, value: f64);
597    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "width")]
598    #[doc = "Getter for the `width` field of this object."]
599    #[doc = ""]
600    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
601    #[doc = ""]
602    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
603    pub fn width(this: &HtmlInputElement) -> u32;
604    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "width")]
605    #[doc = "Setter for the `width` field of this object."]
606    #[doc = ""]
607    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
608    #[doc = ""]
609    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
610    pub fn set_width(this: &HtmlInputElement, value: u32);
611    #[wasm_bindgen(
612        method,
613        getter,
614        js_class = "HTMLInputElement",
615        js_name = "willValidate"
616    )]
617    #[doc = "Getter for the `willValidate` field of this object."]
618    #[doc = ""]
619    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/willValidate)"]
620    #[doc = ""]
621    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
622    pub fn will_validate(this: &HtmlInputElement) -> bool;
623    #[cfg(feature = "ValidityState")]
624    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "validity")]
625    #[doc = "Getter for the `validity` field of this object."]
626    #[doc = ""]
627    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validity)"]
628    #[doc = ""]
629    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*"]
630    pub fn validity(this: &HtmlInputElement) -> ValidityState;
631    #[wasm_bindgen(
632        catch,
633        method,
634        getter,
635        js_class = "HTMLInputElement",
636        js_name = "validationMessage"
637    )]
638    #[doc = "Getter for the `validationMessage` field of this object."]
639    #[doc = ""]
640    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)"]
641    #[doc = ""]
642    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
643    pub fn validation_message(this: &HtmlInputElement) -> Result<::alloc::string::String, JsValue>;
644    #[cfg(feature = "NodeList")]
645    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "labels")]
646    #[doc = "Getter for the `labels` field of this object."]
647    #[doc = ""]
648    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)"]
649    #[doc = ""]
650    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*"]
651    pub fn labels(this: &HtmlInputElement) -> Option<NodeList>;
652    #[wasm_bindgen(
653        catch,
654        method,
655        getter,
656        js_class = "HTMLInputElement",
657        js_name = "selectionStart"
658    )]
659    #[doc = "Getter for the `selectionStart` field of this object."]
660    #[doc = ""]
661    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
662    #[doc = ""]
663    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
664    pub fn selection_start(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
665    #[wasm_bindgen(
666        catch,
667        method,
668        setter,
669        js_class = "HTMLInputElement",
670        js_name = "selectionStart"
671    )]
672    #[doc = "Setter for the `selectionStart` field of this object."]
673    #[doc = ""]
674    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
675    #[doc = ""]
676    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
677    pub fn set_selection_start(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
678    #[wasm_bindgen(
679        catch,
680        method,
681        getter,
682        js_class = "HTMLInputElement",
683        js_name = "selectionEnd"
684    )]
685    #[doc = "Getter for the `selectionEnd` field of this object."]
686    #[doc = ""]
687    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
688    #[doc = ""]
689    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
690    pub fn selection_end(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
691    #[wasm_bindgen(
692        catch,
693        method,
694        setter,
695        js_class = "HTMLInputElement",
696        js_name = "selectionEnd"
697    )]
698    #[doc = "Setter for the `selectionEnd` field of this object."]
699    #[doc = ""]
700    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
701    #[doc = ""]
702    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
703    pub fn set_selection_end(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
704    #[wasm_bindgen(
705        catch,
706        method,
707        getter,
708        js_class = "HTMLInputElement",
709        js_name = "selectionDirection"
710    )]
711    #[doc = "Getter for the `selectionDirection` field of this object."]
712    #[doc = ""]
713    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
714    #[doc = ""]
715    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
716    pub fn selection_direction(
717        this: &HtmlInputElement,
718    ) -> Result<Option<::alloc::string::String>, JsValue>;
719    #[wasm_bindgen(
720        catch,
721        method,
722        setter,
723        js_class = "HTMLInputElement",
724        js_name = "selectionDirection"
725    )]
726    #[doc = "Setter for the `selectionDirection` field of this object."]
727    #[doc = ""]
728    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
729    #[doc = ""]
730    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
731    pub fn set_selection_direction(
732        this: &HtmlInputElement,
733        value: Option<&str>,
734    ) -> Result<(), JsValue>;
735    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "align")]
736    #[doc = "Getter for the `align` field of this object."]
737    #[doc = ""]
738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
739    #[doc = ""]
740    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
741    pub fn align(this: &HtmlInputElement) -> ::alloc::string::String;
742    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "align")]
743    #[doc = "Setter for the `align` field of this object."]
744    #[doc = ""]
745    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
746    #[doc = ""]
747    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
748    pub fn set_align(this: &HtmlInputElement, value: &str);
749    #[wasm_bindgen(method, getter, js_class = "HTMLInputElement", js_name = "useMap")]
750    #[doc = "Getter for the `useMap` field of this object."]
751    #[doc = ""]
752    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
753    #[doc = ""]
754    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
755    pub fn use_map(this: &HtmlInputElement) -> ::alloc::string::String;
756    #[wasm_bindgen(method, setter, js_class = "HTMLInputElement", js_name = "useMap")]
757    #[doc = "Setter for the `useMap` field of this object."]
758    #[doc = ""]
759    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
760    #[doc = ""]
761    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
762    pub fn set_use_map(this: &HtmlInputElement, value: &str);
763    #[wasm_bindgen(
764        method,
765        getter,
766        js_class = "HTMLInputElement",
767        js_name = "webkitEntries"
768    )]
769    #[doc = "Getter for the `webkitEntries` field of this object."]
770    #[doc = ""]
771    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitEntries)"]
772    #[doc = ""]
773    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
774    pub fn webkit_entries(this: &HtmlInputElement) -> ::js_sys::Array;
775    #[wasm_bindgen(
776        method,
777        getter,
778        js_class = "HTMLInputElement",
779        js_name = "webkitdirectory"
780    )]
781    #[doc = "Getter for the `webkitdirectory` field of this object."]
782    #[doc = ""]
783    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
784    #[doc = ""]
785    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
786    pub fn webkitdirectory(this: &HtmlInputElement) -> bool;
787    #[wasm_bindgen(
788        method,
789        setter,
790        js_class = "HTMLInputElement",
791        js_name = "webkitdirectory"
792    )]
793    #[doc = "Setter for the `webkitdirectory` field of this object."]
794    #[doc = ""]
795    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
796    #[doc = ""]
797    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
798    pub fn set_webkitdirectory(this: &HtmlInputElement, value: bool);
799    #[wasm_bindgen(
800        method,
801        getter,
802        js_class = "HTMLInputElement",
803        js_name = "popoverTargetElement"
804    )]
805    #[doc = "Getter for the `popoverTargetElement` field of this object."]
806    #[doc = ""]
807    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement)"]
808    #[doc = ""]
809    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
810    pub fn popover_target_element(this: &HtmlInputElement) -> Option<Element>;
811    #[wasm_bindgen(
812        method,
813        setter,
814        js_class = "HTMLInputElement",
815        js_name = "popoverTargetElement"
816    )]
817    #[doc = "Setter for the `popoverTargetElement` field of this object."]
818    #[doc = ""]
819    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement)"]
820    #[doc = ""]
821    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
822    pub fn set_popover_target_element(this: &HtmlInputElement, value: Option<&Element>);
823    #[wasm_bindgen(
824        method,
825        getter,
826        js_class = "HTMLInputElement",
827        js_name = "popoverTargetAction"
828    )]
829    #[doc = "Getter for the `popoverTargetAction` field of this object."]
830    #[doc = ""]
831    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction)"]
832    #[doc = ""]
833    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
834    pub fn popover_target_action(this: &HtmlInputElement) -> ::alloc::string::String;
835    #[wasm_bindgen(
836        method,
837        setter,
838        js_class = "HTMLInputElement",
839        js_name = "popoverTargetAction"
840    )]
841    #[doc = "Setter for the `popoverTargetAction` field of this object."]
842    #[doc = ""]
843    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction)"]
844    #[doc = ""]
845    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
846    pub fn set_popover_target_action(this: &HtmlInputElement, value: &str);
847    #[wasm_bindgen(method, js_class = "HTMLInputElement", js_name = "checkValidity")]
848    #[doc = "The `checkValidity()` method."]
849    #[doc = ""]
850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)"]
851    #[doc = ""]
852    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
853    pub fn check_validity(this: &HtmlInputElement) -> bool;
854    #[wasm_bindgen(method, js_class = "HTMLInputElement", js_name = "reportValidity")]
855    #[doc = "The `reportValidity()` method."]
856    #[doc = ""]
857    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"]
858    #[doc = ""]
859    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
860    pub fn report_validity(this: &HtmlInputElement) -> bool;
861    #[wasm_bindgen(method, js_class = "HTMLInputElement")]
862    #[doc = "The `select()` method."]
863    #[doc = ""]
864    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)"]
865    #[doc = ""]
866    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
867    pub fn select(this: &HtmlInputElement);
868    #[wasm_bindgen(method, js_class = "HTMLInputElement", js_name = "setCustomValidity")]
869    #[doc = "The `setCustomValidity()` method."]
870    #[doc = ""]
871    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)"]
872    #[doc = ""]
873    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
874    pub fn set_custom_validity(this: &HtmlInputElement, error: &str);
875    #[wasm_bindgen(catch, method, js_class = "HTMLInputElement", js_name = "setRangeText")]
876    #[doc = "The `setRangeText()` method."]
877    #[doc = ""]
878    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
879    #[doc = ""]
880    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
881    pub fn set_range_text(this: &HtmlInputElement, replacement: &str) -> Result<(), JsValue>;
882    #[wasm_bindgen(catch, method, js_class = "HTMLInputElement", js_name = "setRangeText")]
883    #[doc = "The `setRangeText()` method."]
884    #[doc = ""]
885    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
886    #[doc = ""]
887    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
888    pub fn set_range_text_with_start_and_end(
889        this: &HtmlInputElement,
890        replacement: &str,
891        start: u32,
892        end: u32,
893    ) -> Result<(), JsValue>;
894    #[cfg(feature = "SelectionMode")]
895    #[wasm_bindgen(catch, method, js_class = "HTMLInputElement", js_name = "setRangeText")]
896    #[doc = "The `setRangeText()` method."]
897    #[doc = ""]
898    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
899    #[doc = ""]
900    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `SelectionMode`*"]
901    pub fn set_range_text_with_start_and_end_and_selection_mode(
902        this: &HtmlInputElement,
903        replacement: &str,
904        start: u32,
905        end: u32,
906        selection_mode: SelectionMode,
907    ) -> Result<(), JsValue>;
908    #[wasm_bindgen(
909        catch,
910        method,
911        js_class = "HTMLInputElement",
912        js_name = "setSelectionRange"
913    )]
914    #[doc = "The `setSelectionRange()` method."]
915    #[doc = ""]
916    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
917    #[doc = ""]
918    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
919    pub fn set_selection_range(
920        this: &HtmlInputElement,
921        start: u32,
922        end: u32,
923    ) -> Result<(), JsValue>;
924    #[wasm_bindgen(
925        catch,
926        method,
927        js_class = "HTMLInputElement",
928        js_name = "setSelectionRange"
929    )]
930    #[doc = "The `setSelectionRange()` method."]
931    #[doc = ""]
932    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
933    #[doc = ""]
934    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
935    pub fn set_selection_range_with_direction(
936        this: &HtmlInputElement,
937        start: u32,
938        end: u32,
939        direction: &str,
940    ) -> Result<(), JsValue>;
941    #[wasm_bindgen(catch, method, js_class = "HTMLInputElement", js_name = "showPicker")]
942    #[doc = "The `showPicker()` method."]
943    #[doc = ""]
944    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker)"]
945    #[doc = ""]
946    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
947    pub fn show_picker(this: &HtmlInputElement) -> Result<(), JsValue>;
948}