maxcountryman_web_sys/features/
gen_HtmlInputElement.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLInputElement , typescript_type = "HTMLInputElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `HtmlInputElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
13    pub type HtmlInputElement;
14    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = accept)]
15    #[doc = "Getter for the `accept` field of this object."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
20    pub fn accept(this: &HtmlInputElement) -> String;
21    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = accept)]
22    #[doc = "Setter for the `accept` field of this object."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
27    pub fn set_accept(this: &HtmlInputElement, value: &str);
28    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = alt)]
29    #[doc = "Getter for the `alt` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
34    pub fn alt(this: &HtmlInputElement) -> String;
35    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = alt)]
36    #[doc = "Setter for the `alt` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
41    pub fn set_alt(this: &HtmlInputElement, value: &str);
42    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = autocomplete)]
43    #[doc = "Getter for the `autocomplete` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
48    pub fn autocomplete(this: &HtmlInputElement) -> String;
49    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = autocomplete)]
50    #[doc = "Setter for the `autocomplete` field of this object."]
51    #[doc = ""]
52    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"]
53    #[doc = ""]
54    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
55    pub fn set_autocomplete(this: &HtmlInputElement, value: &str);
56    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = autofocus)]
57    #[doc = "Getter for the `autofocus` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
62    pub fn autofocus(this: &HtmlInputElement) -> bool;
63    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = autofocus)]
64    #[doc = "Setter for the `autofocus` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
69    pub fn set_autofocus(this: &HtmlInputElement, value: bool);
70    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = defaultChecked)]
71    #[doc = "Getter for the `defaultChecked` field of this object."]
72    #[doc = ""]
73    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"]
74    #[doc = ""]
75    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
76    pub fn default_checked(this: &HtmlInputElement) -> bool;
77    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = defaultChecked)]
78    #[doc = "Setter 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 set_default_checked(this: &HtmlInputElement, value: bool);
84    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = checked)]
85    #[doc = "Getter for the `checked` field of this object."]
86    #[doc = ""]
87    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"]
88    #[doc = ""]
89    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
90    pub fn checked(this: &HtmlInputElement) -> bool;
91    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = checked)]
92    #[doc = "Setter 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 set_checked(this: &HtmlInputElement, value: bool);
98    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = disabled)]
99    #[doc = "Getter for the `disabled` field of this object."]
100    #[doc = ""]
101    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"]
102    #[doc = ""]
103    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
104    pub fn disabled(this: &HtmlInputElement) -> bool;
105    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = disabled)]
106    #[doc = "Setter 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 set_disabled(this: &HtmlInputElement, value: bool);
112    #[cfg(feature = "HtmlFormElement")]
113    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = form)]
114    #[doc = "Getter for the `form` field of this object."]
115    #[doc = ""]
116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/form)"]
117    #[doc = ""]
118    #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*"]
119    pub fn form(this: &HtmlInputElement) -> Option<HtmlFormElement>;
120    #[cfg(feature = "FileList")]
121    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = files)]
122    #[doc = "Getter for the `files` field of this object."]
123    #[doc = ""]
124    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"]
125    #[doc = ""]
126    #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"]
127    pub fn files(this: &HtmlInputElement) -> Option<FileList>;
128    #[cfg(feature = "FileList")]
129    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = files)]
130    #[doc = "Setter for the `files` field of this object."]
131    #[doc = ""]
132    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"]
133    #[doc = ""]
134    #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"]
135    pub fn set_files(this: &HtmlInputElement, value: Option<&FileList>);
136    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formAction)]
137    #[doc = "Getter for the `formAction` field of this object."]
138    #[doc = ""]
139    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"]
140    #[doc = ""]
141    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
142    pub fn form_action(this: &HtmlInputElement) -> String;
143    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formAction)]
144    #[doc = "Setter 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 set_form_action(this: &HtmlInputElement, value: &str);
150    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formEnctype)]
151    #[doc = "Getter for the `formEnctype` field of this object."]
152    #[doc = ""]
153    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"]
154    #[doc = ""]
155    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
156    pub fn form_enctype(this: &HtmlInputElement) -> String;
157    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formEnctype)]
158    #[doc = "Setter 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 set_form_enctype(this: &HtmlInputElement, value: &str);
164    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formMethod)]
165    #[doc = "Getter for the `formMethod` field of this object."]
166    #[doc = ""]
167    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"]
168    #[doc = ""]
169    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
170    pub fn form_method(this: &HtmlInputElement) -> String;
171    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formMethod)]
172    #[doc = "Setter 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 set_form_method(this: &HtmlInputElement, value: &str);
178    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formNoValidate)]
179    #[doc = "Getter for the `formNoValidate` field of this object."]
180    #[doc = ""]
181    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"]
182    #[doc = ""]
183    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
184    pub fn form_no_validate(this: &HtmlInputElement) -> bool;
185    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formNoValidate)]
186    #[doc = "Setter 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 set_form_no_validate(this: &HtmlInputElement, value: bool);
192    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formTarget)]
193    #[doc = "Getter for the `formTarget` field of this object."]
194    #[doc = ""]
195    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"]
196    #[doc = ""]
197    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
198    pub fn form_target(this: &HtmlInputElement) -> String;
199    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formTarget)]
200    #[doc = "Setter 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 set_form_target(this: &HtmlInputElement, value: &str);
206    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = height)]
207    #[doc = "Getter for the `height` field of this object."]
208    #[doc = ""]
209    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"]
210    #[doc = ""]
211    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
212    pub fn height(this: &HtmlInputElement) -> u32;
213    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = height)]
214    #[doc = "Setter 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 set_height(this: &HtmlInputElement, value: u32);
220    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = indeterminate)]
221    #[doc = "Getter for the `indeterminate` field of this object."]
222    #[doc = ""]
223    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"]
224    #[doc = ""]
225    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
226    pub fn indeterminate(this: &HtmlInputElement) -> bool;
227    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = indeterminate)]
228    #[doc = "Setter 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 set_indeterminate(this: &HtmlInputElement, value: bool);
234    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = inputMode)]
235    #[doc = "Getter for the `inputMode` field of this object."]
236    #[doc = ""]
237    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"]
238    #[doc = ""]
239    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
240    pub fn input_mode(this: &HtmlInputElement) -> String;
241    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = inputMode)]
242    #[doc = "Setter 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 set_input_mode(this: &HtmlInputElement, value: &str);
248    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = list)]
249    #[doc = "Getter for the `list` field of this object."]
250    #[doc = ""]
251    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/list)"]
252    #[doc = ""]
253    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
254    pub fn list(this: &HtmlInputElement) -> Option<HtmlElement>;
255    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = max)]
256    #[doc = "Getter for the `max` field of this object."]
257    #[doc = ""]
258    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"]
259    #[doc = ""]
260    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
261    pub fn max(this: &HtmlInputElement) -> String;
262    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = max)]
263    #[doc = "Setter 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 set_max(this: &HtmlInputElement, value: &str);
269    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = maxLength)]
270    #[doc = "Getter for the `maxLength` field of this object."]
271    #[doc = ""]
272    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"]
273    #[doc = ""]
274    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
275    pub fn max_length(this: &HtmlInputElement) -> i32;
276    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = maxLength)]
277    #[doc = "Setter 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 set_max_length(this: &HtmlInputElement, value: i32);
283    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = min)]
284    #[doc = "Getter for the `min` field of this object."]
285    #[doc = ""]
286    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"]
287    #[doc = ""]
288    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
289    pub fn min(this: &HtmlInputElement) -> String;
290    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = min)]
291    #[doc = "Setter 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 set_min(this: &HtmlInputElement, value: &str);
297    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = minLength)]
298    #[doc = "Getter for the `minLength` field of this object."]
299    #[doc = ""]
300    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"]
301    #[doc = ""]
302    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
303    pub fn min_length(this: &HtmlInputElement) -> i32;
304    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = minLength)]
305    #[doc = "Setter 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 set_min_length(this: &HtmlInputElement, value: i32);
311    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = multiple)]
312    #[doc = "Getter for the `multiple` field of this object."]
313    #[doc = ""]
314    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"]
315    #[doc = ""]
316    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
317    pub fn multiple(this: &HtmlInputElement) -> bool;
318    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = multiple)]
319    #[doc = "Setter 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 set_multiple(this: &HtmlInputElement, value: bool);
325    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = name)]
326    #[doc = "Getter for the `name` field of this object."]
327    #[doc = ""]
328    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/name)"]
329    #[doc = ""]
330    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
331    pub fn name(this: &HtmlInputElement) -> String;
332    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = name)]
333    #[doc = "Setter 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 set_name(this: &HtmlInputElement, value: &str);
339    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = pattern)]
340    #[doc = "Getter for the `pattern` field of this object."]
341    #[doc = ""]
342    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"]
343    #[doc = ""]
344    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
345    pub fn pattern(this: &HtmlInputElement) -> String;
346    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = pattern)]
347    #[doc = "Setter 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 set_pattern(this: &HtmlInputElement, value: &str);
353    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = placeholder)]
354    #[doc = "Getter for the `placeholder` field of this object."]
355    #[doc = ""]
356    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"]
357    #[doc = ""]
358    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
359    pub fn placeholder(this: &HtmlInputElement) -> String;
360    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = placeholder)]
361    #[doc = "Setter 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 set_placeholder(this: &HtmlInputElement, value: &str);
367    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = readOnly)]
368    #[doc = "Getter for the `readOnly` field of this object."]
369    #[doc = ""]
370    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"]
371    #[doc = ""]
372    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
373    pub fn read_only(this: &HtmlInputElement) -> bool;
374    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = readOnly)]
375    #[doc = "Setter 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 set_read_only(this: &HtmlInputElement, value: bool);
381    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = required)]
382    #[doc = "Getter for the `required` field of this object."]
383    #[doc = ""]
384    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"]
385    #[doc = ""]
386    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
387    pub fn required(this: &HtmlInputElement) -> bool;
388    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = required)]
389    #[doc = "Setter 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 set_required(this: &HtmlInputElement, value: bool);
395    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = size)]
396    #[doc = "Getter for the `size` field of this object."]
397    #[doc = ""]
398    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"]
399    #[doc = ""]
400    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
401    pub fn size(this: &HtmlInputElement) -> u32;
402    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = size)]
403    #[doc = "Setter 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 set_size(this: &HtmlInputElement, value: u32);
409    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = src)]
410    #[doc = "Getter for the `src` field of this object."]
411    #[doc = ""]
412    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"]
413    #[doc = ""]
414    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
415    pub fn src(this: &HtmlInputElement) -> String;
416    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = src)]
417    #[doc = "Setter 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 set_src(this: &HtmlInputElement, value: &str);
423    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = step)]
424    #[doc = "Getter for the `step` field of this object."]
425    #[doc = ""]
426    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"]
427    #[doc = ""]
428    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
429    pub fn step(this: &HtmlInputElement) -> String;
430    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = step)]
431    #[doc = "Setter 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 set_step(this: &HtmlInputElement, value: &str);
437    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = type)]
438    #[doc = "Getter for the `type` field of this object."]
439    #[doc = ""]
440    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)"]
441    #[doc = ""]
442    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
443    pub fn type_(this: &HtmlInputElement) -> String;
444    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = type)]
445    #[doc = "Setter 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 set_type(this: &HtmlInputElement, value: &str);
451    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = defaultValue)]
452    #[doc = "Getter for the `defaultValue` field of this object."]
453    #[doc = ""]
454    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultValue)"]
455    #[doc = ""]
456    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
457    pub fn default_value(this: &HtmlInputElement) -> String;
458    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = defaultValue)]
459    #[doc = "Setter 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 set_default_value(this: &HtmlInputElement, value: &str);
465    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = value)]
466    #[doc = "Getter for the `value` field of this object."]
467    #[doc = ""]
468    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/value)"]
469    #[doc = ""]
470    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
471    pub fn value(this: &HtmlInputElement) -> String;
472    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = value)]
473    #[doc = "Setter 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 set_value(this: &HtmlInputElement, value: &str);
479    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = valueAsNumber)]
480    #[doc = "Getter for the `valueAsNumber` field of this object."]
481    #[doc = ""]
482    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
483    #[doc = ""]
484    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
485    pub fn value_as_number(this: &HtmlInputElement) -> f64;
486    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = valueAsNumber)]
487    #[doc = "Setter for the `valueAsNumber` field of this object."]
488    #[doc = ""]
489    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
490    #[doc = ""]
491    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
492    pub fn set_value_as_number(this: &HtmlInputElement, value: f64);
493    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = width)]
494    #[doc = "Getter for the `width` field of this object."]
495    #[doc = ""]
496    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
497    #[doc = ""]
498    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
499    pub fn width(this: &HtmlInputElement) -> u32;
500    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = width)]
501    #[doc = "Setter for the `width` field of this object."]
502    #[doc = ""]
503    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
504    #[doc = ""]
505    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
506    pub fn set_width(this: &HtmlInputElement, value: u32);
507    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = willValidate)]
508    #[doc = "Getter for the `willValidate` field of this object."]
509    #[doc = ""]
510    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/willValidate)"]
511    #[doc = ""]
512    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
513    pub fn will_validate(this: &HtmlInputElement) -> bool;
514    #[cfg(feature = "ValidityState")]
515    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = validity)]
516    #[doc = "Getter for the `validity` field of this object."]
517    #[doc = ""]
518    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validity)"]
519    #[doc = ""]
520    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*"]
521    pub fn validity(this: &HtmlInputElement) -> ValidityState;
522    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = validationMessage)]
523    #[doc = "Getter for the `validationMessage` field of this object."]
524    #[doc = ""]
525    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)"]
526    #[doc = ""]
527    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
528    pub fn validation_message(this: &HtmlInputElement) -> Result<String, JsValue>;
529    #[cfg(feature = "NodeList")]
530    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = labels)]
531    #[doc = "Getter for the `labels` field of this object."]
532    #[doc = ""]
533    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)"]
534    #[doc = ""]
535    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*"]
536    pub fn labels(this: &HtmlInputElement) -> Option<NodeList>;
537    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionStart)]
538    #[doc = "Getter for the `selectionStart` field of this object."]
539    #[doc = ""]
540    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
541    #[doc = ""]
542    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
543    pub fn selection_start(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
544    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionStart)]
545    #[doc = "Setter for the `selectionStart` field of this object."]
546    #[doc = ""]
547    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
548    #[doc = ""]
549    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
550    pub fn set_selection_start(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
551    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionEnd)]
552    #[doc = "Getter for the `selectionEnd` field of this object."]
553    #[doc = ""]
554    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
555    #[doc = ""]
556    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
557    pub fn selection_end(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
558    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionEnd)]
559    #[doc = "Setter for the `selectionEnd` field of this object."]
560    #[doc = ""]
561    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
562    #[doc = ""]
563    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
564    pub fn set_selection_end(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
565    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionDirection)]
566    #[doc = "Getter for the `selectionDirection` field of this object."]
567    #[doc = ""]
568    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
569    #[doc = ""]
570    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
571    pub fn selection_direction(this: &HtmlInputElement) -> Result<Option<String>, JsValue>;
572    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionDirection)]
573    #[doc = "Setter for the `selectionDirection` field of this object."]
574    #[doc = ""]
575    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
576    #[doc = ""]
577    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
578    pub fn set_selection_direction(
579        this: &HtmlInputElement,
580        value: Option<&str>,
581    ) -> Result<(), JsValue>;
582    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = align)]
583    #[doc = "Getter for the `align` field of this object."]
584    #[doc = ""]
585    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
586    #[doc = ""]
587    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
588    pub fn align(this: &HtmlInputElement) -> String;
589    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = align)]
590    #[doc = "Setter for the `align` field of this object."]
591    #[doc = ""]
592    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
593    #[doc = ""]
594    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
595    pub fn set_align(this: &HtmlInputElement, value: &str);
596    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = useMap)]
597    #[doc = "Getter for the `useMap` field of this object."]
598    #[doc = ""]
599    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
600    #[doc = ""]
601    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
602    pub fn use_map(this: &HtmlInputElement) -> String;
603    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = useMap)]
604    #[doc = "Setter for the `useMap` field of this object."]
605    #[doc = ""]
606    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
607    #[doc = ""]
608    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
609    pub fn set_use_map(this: &HtmlInputElement, value: &str);
610    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitEntries)]
611    #[doc = "Getter for the `webkitEntries` field of this object."]
612    #[doc = ""]
613    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitEntries)"]
614    #[doc = ""]
615    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
616    pub fn webkit_entries(this: &HtmlInputElement) -> ::js_sys::Array;
617    # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitdirectory)]
618    #[doc = "Getter for the `webkitdirectory` field of this object."]
619    #[doc = ""]
620    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
621    #[doc = ""]
622    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
623    pub fn webkitdirectory(this: &HtmlInputElement) -> bool;
624    # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = webkitdirectory)]
625    #[doc = "Setter for the `webkitdirectory` field of this object."]
626    #[doc = ""]
627    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
628    #[doc = ""]
629    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
630    pub fn set_webkitdirectory(this: &HtmlInputElement, value: bool);
631    # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = checkValidity)]
632    #[doc = "The `checkValidity()` method."]
633    #[doc = ""]
634    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)"]
635    #[doc = ""]
636    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
637    pub fn check_validity(this: &HtmlInputElement) -> bool;
638    # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = reportValidity)]
639    #[doc = "The `reportValidity()` method."]
640    #[doc = ""]
641    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"]
642    #[doc = ""]
643    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
644    pub fn report_validity(this: &HtmlInputElement) -> bool;
645    # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = select)]
646    #[doc = "The `select()` method."]
647    #[doc = ""]
648    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)"]
649    #[doc = ""]
650    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
651    pub fn select(this: &HtmlInputElement);
652    # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = setCustomValidity)]
653    #[doc = "The `setCustomValidity()` method."]
654    #[doc = ""]
655    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)"]
656    #[doc = ""]
657    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
658    pub fn set_custom_validity(this: &HtmlInputElement, error: &str);
659    # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
660    #[doc = "The `setRangeText()` method."]
661    #[doc = ""]
662    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
663    #[doc = ""]
664    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
665    pub fn set_range_text(this: &HtmlInputElement, replacement: &str) -> Result<(), JsValue>;
666    # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
667    #[doc = "The `setRangeText()` method."]
668    #[doc = ""]
669    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
670    #[doc = ""]
671    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
672    pub fn set_range_text_with_start_and_end(
673        this: &HtmlInputElement,
674        replacement: &str,
675        start: u32,
676        end: u32,
677    ) -> Result<(), JsValue>;
678    # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
679    #[doc = "The `setSelectionRange()` method."]
680    #[doc = ""]
681    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
682    #[doc = ""]
683    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
684    pub fn set_selection_range(
685        this: &HtmlInputElement,
686        start: u32,
687        end: u32,
688    ) -> Result<(), JsValue>;
689    # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
690    #[doc = "The `setSelectionRange()` method."]
691    #[doc = ""]
692    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
693    #[doc = ""]
694    #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
695    pub fn set_selection_range_with_direction(
696        this: &HtmlInputElement,
697        start: u32,
698        end: u32,
699        direction: &str,
700    ) -> Result<(), JsValue>;
701}