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 , method , getter , js_class = "HTMLInputElement" , js_name = valueAsNumber)]
487 #[doc = "Getter 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 value_as_number(this: &HtmlInputElement) -> f64;
493 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = valueAsNumber)]
494 #[doc = "Setter for the `valueAsNumber` field of this object."]
495 #[doc = ""]
496 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"]
497 #[doc = ""]
498 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
499 pub fn set_value_as_number(this: &HtmlInputElement, value: f64);
500 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = width)]
501 #[doc = "Getter 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 width(this: &HtmlInputElement) -> u32;
507 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = width)]
508 #[doc = "Setter for the `width` field of this object."]
509 #[doc = ""]
510 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"]
511 #[doc = ""]
512 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
513 pub fn set_width(this: &HtmlInputElement, value: u32);
514 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = willValidate)]
515 #[doc = "Getter for the `willValidate` field of this object."]
516 #[doc = ""]
517 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/willValidate)"]
518 #[doc = ""]
519 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
520 pub fn will_validate(this: &HtmlInputElement) -> bool;
521 #[cfg(feature = "ValidityState")]
522 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = validity)]
523 #[doc = "Getter for the `validity` field of this object."]
524 #[doc = ""]
525 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validity)"]
526 #[doc = ""]
527 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*"]
528 pub fn validity(this: &HtmlInputElement) -> ValidityState;
529 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = validationMessage)]
530 #[doc = "Getter for the `validationMessage` field of this object."]
531 #[doc = ""]
532 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)"]
533 #[doc = ""]
534 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
535 pub fn validation_message(this: &HtmlInputElement) -> Result<::alloc::string::String, JsValue>;
536 #[cfg(feature = "NodeList")]
537 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = labels)]
538 #[doc = "Getter for the `labels` field of this object."]
539 #[doc = ""]
540 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/labels)"]
541 #[doc = ""]
542 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*"]
543 pub fn labels(this: &HtmlInputElement) -> Option<NodeList>;
544 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionStart)]
545 #[doc = "Getter 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 selection_start(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
551 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionStart)]
552 #[doc = "Setter for the `selectionStart` field of this object."]
553 #[doc = ""]
554 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"]
555 #[doc = ""]
556 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
557 pub fn set_selection_start(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
558 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionEnd)]
559 #[doc = "Getter 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 selection_end(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>;
565 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionEnd)]
566 #[doc = "Setter for the `selectionEnd` field of this object."]
567 #[doc = ""]
568 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"]
569 #[doc = ""]
570 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
571 pub fn set_selection_end(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>;
572 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionDirection)]
573 #[doc = "Getter 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 selection_direction(
579 this: &HtmlInputElement,
580 ) -> Result<Option<::alloc::string::String>, JsValue>;
581 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionDirection)]
582 #[doc = "Setter for the `selectionDirection` field of this object."]
583 #[doc = ""]
584 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"]
585 #[doc = ""]
586 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
587 pub fn set_selection_direction(
588 this: &HtmlInputElement,
589 value: Option<&str>,
590 ) -> Result<(), JsValue>;
591 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = align)]
592 #[doc = "Getter for the `align` field of this object."]
593 #[doc = ""]
594 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
595 #[doc = ""]
596 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
597 pub fn align(this: &HtmlInputElement) -> ::alloc::string::String;
598 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = align)]
599 #[doc = "Setter for the `align` field of this object."]
600 #[doc = ""]
601 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"]
602 #[doc = ""]
603 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
604 pub fn set_align(this: &HtmlInputElement, value: &str);
605 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = useMap)]
606 #[doc = "Getter for the `useMap` field of this object."]
607 #[doc = ""]
608 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
609 #[doc = ""]
610 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
611 pub fn use_map(this: &HtmlInputElement) -> ::alloc::string::String;
612 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = useMap)]
613 #[doc = "Setter for the `useMap` field of this object."]
614 #[doc = ""]
615 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"]
616 #[doc = ""]
617 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
618 pub fn set_use_map(this: &HtmlInputElement, value: &str);
619 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitEntries)]
620 #[doc = "Getter for the `webkitEntries` field of this object."]
621 #[doc = ""]
622 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitEntries)"]
623 #[doc = ""]
624 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
625 pub fn webkit_entries(this: &HtmlInputElement) -> ::js_sys::Array;
626 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitdirectory)]
627 #[doc = "Getter for the `webkitdirectory` field of this object."]
628 #[doc = ""]
629 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
630 #[doc = ""]
631 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
632 pub fn webkitdirectory(this: &HtmlInputElement) -> bool;
633 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = webkitdirectory)]
634 #[doc = "Setter for the `webkitdirectory` field of this object."]
635 #[doc = ""]
636 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"]
637 #[doc = ""]
638 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
639 pub fn set_webkitdirectory(this: &HtmlInputElement, value: bool);
640 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = popoverTargetElement)]
641 #[doc = "Getter for the `popoverTargetElement` field of this object."]
642 #[doc = ""]
643 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement)"]
644 #[doc = ""]
645 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
646 pub fn popover_target_element(this: &HtmlInputElement) -> Option<Element>;
647 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = popoverTargetElement)]
648 #[doc = "Setter for the `popoverTargetElement` field of this object."]
649 #[doc = ""]
650 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetElement)"]
651 #[doc = ""]
652 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
653 pub fn set_popover_target_element(this: &HtmlInputElement, value: Option<&Element>);
654 # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = popoverTargetAction)]
655 #[doc = "Getter for the `popoverTargetAction` field of this object."]
656 #[doc = ""]
657 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction)"]
658 #[doc = ""]
659 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
660 pub fn popover_target_action(this: &HtmlInputElement) -> ::alloc::string::String;
661 # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = popoverTargetAction)]
662 #[doc = "Setter for the `popoverTargetAction` field of this object."]
663 #[doc = ""]
664 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/popoverTargetAction)"]
665 #[doc = ""]
666 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
667 pub fn set_popover_target_action(this: &HtmlInputElement, value: &str);
668 # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = checkValidity)]
669 #[doc = "The `checkValidity()` method."]
670 #[doc = ""]
671 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)"]
672 #[doc = ""]
673 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
674 pub fn check_validity(this: &HtmlInputElement) -> bool;
675 # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = reportValidity)]
676 #[doc = "The `reportValidity()` method."]
677 #[doc = ""]
678 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"]
679 #[doc = ""]
680 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
681 pub fn report_validity(this: &HtmlInputElement) -> bool;
682 # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = select)]
683 #[doc = "The `select()` method."]
684 #[doc = ""]
685 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)"]
686 #[doc = ""]
687 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
688 pub fn select(this: &HtmlInputElement);
689 # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = setCustomValidity)]
690 #[doc = "The `setCustomValidity()` method."]
691 #[doc = ""]
692 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)"]
693 #[doc = ""]
694 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
695 pub fn set_custom_validity(this: &HtmlInputElement, error: &str);
696 # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
697 #[doc = "The `setRangeText()` method."]
698 #[doc = ""]
699 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
700 #[doc = ""]
701 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
702 pub fn set_range_text(this: &HtmlInputElement, replacement: &str) -> Result<(), JsValue>;
703 # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
704 #[doc = "The `setRangeText()` method."]
705 #[doc = ""]
706 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
707 #[doc = ""]
708 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
709 pub fn set_range_text_with_start_and_end(
710 this: &HtmlInputElement,
711 replacement: &str,
712 start: u32,
713 end: u32,
714 ) -> Result<(), JsValue>;
715 #[cfg(feature = "SelectionMode")]
716 # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
717 #[doc = "The `setRangeText()` method."]
718 #[doc = ""]
719 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
720 #[doc = ""]
721 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `SelectionMode`*"]
722 pub fn set_range_text_with_start_and_end_and_selection_mode(
723 this: &HtmlInputElement,
724 replacement: &str,
725 start: u32,
726 end: u32,
727 selection_mode: SelectionMode,
728 ) -> Result<(), JsValue>;
729 # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
730 #[doc = "The `setSelectionRange()` method."]
731 #[doc = ""]
732 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
733 #[doc = ""]
734 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
735 pub fn set_selection_range(
736 this: &HtmlInputElement,
737 start: u32,
738 end: u32,
739 ) -> Result<(), JsValue>;
740 # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
741 #[doc = "The `setSelectionRange()` method."]
742 #[doc = ""]
743 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"]
744 #[doc = ""]
745 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
746 pub fn set_selection_range_with_direction(
747 this: &HtmlInputElement,
748 start: u32,
749 end: u32,
750 direction: &str,
751 ) -> Result<(), JsValue>;
752 # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = showPicker)]
753 #[doc = "The `showPicker()` method."]
754 #[doc = ""]
755 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker)"]
756 #[doc = ""]
757 #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"]
758 pub fn show_picker(this: &HtmlInputElement) -> Result<(), JsValue>;
759}