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