maxcountryman_web_sys/features/
gen_HtmlTextAreaElement.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 = HTMLTextAreaElement , typescript_type = "HTMLTextAreaElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `HtmlTextAreaElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
13    pub type HtmlTextAreaElement;
14    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = autocomplete)]
15    #[doc = "Getter for the `autocomplete` field of this object."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
20    pub fn autocomplete(this: &HtmlTextAreaElement) -> String;
21    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = autocomplete)]
22    #[doc = "Setter for the `autocomplete` field of this object."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
27    pub fn set_autocomplete(this: &HtmlTextAreaElement, value: &str);
28    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = autofocus)]
29    #[doc = "Getter for the `autofocus` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
34    pub fn autofocus(this: &HtmlTextAreaElement) -> bool;
35    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = autofocus)]
36    #[doc = "Setter for the `autofocus` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
41    pub fn set_autofocus(this: &HtmlTextAreaElement, value: bool);
42    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = cols)]
43    #[doc = "Getter for the `cols` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
48    pub fn cols(this: &HtmlTextAreaElement) -> u32;
49    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = cols)]
50    #[doc = "Setter for the `cols` field of this object."]
51    #[doc = ""]
52    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)"]
53    #[doc = ""]
54    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
55    pub fn set_cols(this: &HtmlTextAreaElement, value: u32);
56    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = disabled)]
57    #[doc = "Getter for the `disabled` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
62    pub fn disabled(this: &HtmlTextAreaElement) -> bool;
63    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = disabled)]
64    #[doc = "Setter for the `disabled` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
69    pub fn set_disabled(this: &HtmlTextAreaElement, value: bool);
70    #[cfg(feature = "HtmlFormElement")]
71    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = form)]
72    #[doc = "Getter for the `form` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/form)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlTextAreaElement`*"]
77    pub fn form(this: &HtmlTextAreaElement) -> Option<HtmlFormElement>;
78    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = maxLength)]
79    #[doc = "Getter for the `maxLength` field of this object."]
80    #[doc = ""]
81    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)"]
82    #[doc = ""]
83    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
84    pub fn max_length(this: &HtmlTextAreaElement) -> i32;
85    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = maxLength)]
86    #[doc = "Setter for the `maxLength` field of this object."]
87    #[doc = ""]
88    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)"]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
91    pub fn set_max_length(this: &HtmlTextAreaElement, value: i32);
92    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = minLength)]
93    #[doc = "Getter for the `minLength` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
98    pub fn min_length(this: &HtmlTextAreaElement) -> i32;
99    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = minLength)]
100    #[doc = "Setter for the `minLength` field of this object."]
101    #[doc = ""]
102    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)"]
103    #[doc = ""]
104    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
105    pub fn set_min_length(this: &HtmlTextAreaElement, value: i32);
106    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = name)]
107    #[doc = "Getter for the `name` field of this object."]
108    #[doc = ""]
109    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)"]
110    #[doc = ""]
111    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
112    pub fn name(this: &HtmlTextAreaElement) -> String;
113    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = name)]
114    #[doc = "Setter for the `name` field of this object."]
115    #[doc = ""]
116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)"]
117    #[doc = ""]
118    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
119    pub fn set_name(this: &HtmlTextAreaElement, value: &str);
120    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = placeholder)]
121    #[doc = "Getter for the `placeholder` field of this object."]
122    #[doc = ""]
123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)"]
124    #[doc = ""]
125    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
126    pub fn placeholder(this: &HtmlTextAreaElement) -> String;
127    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = placeholder)]
128    #[doc = "Setter for the `placeholder` field of this object."]
129    #[doc = ""]
130    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)"]
131    #[doc = ""]
132    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
133    pub fn set_placeholder(this: &HtmlTextAreaElement, value: &str);
134    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = readOnly)]
135    #[doc = "Getter for the `readOnly` field of this object."]
136    #[doc = ""]
137    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)"]
138    #[doc = ""]
139    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
140    pub fn read_only(this: &HtmlTextAreaElement) -> bool;
141    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = readOnly)]
142    #[doc = "Setter for the `readOnly` field of this object."]
143    #[doc = ""]
144    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)"]
145    #[doc = ""]
146    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
147    pub fn set_read_only(this: &HtmlTextAreaElement, value: bool);
148    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = required)]
149    #[doc = "Getter for the `required` field of this object."]
150    #[doc = ""]
151    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)"]
152    #[doc = ""]
153    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
154    pub fn required(this: &HtmlTextAreaElement) -> bool;
155    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = required)]
156    #[doc = "Setter for the `required` field of this object."]
157    #[doc = ""]
158    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)"]
159    #[doc = ""]
160    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
161    pub fn set_required(this: &HtmlTextAreaElement, value: bool);
162    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = rows)]
163    #[doc = "Getter for the `rows` field of this object."]
164    #[doc = ""]
165    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)"]
166    #[doc = ""]
167    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
168    pub fn rows(this: &HtmlTextAreaElement) -> u32;
169    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = rows)]
170    #[doc = "Setter for the `rows` field of this object."]
171    #[doc = ""]
172    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)"]
173    #[doc = ""]
174    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
175    pub fn set_rows(this: &HtmlTextAreaElement, value: u32);
176    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = wrap)]
177    #[doc = "Getter for the `wrap` field of this object."]
178    #[doc = ""]
179    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)"]
180    #[doc = ""]
181    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
182    pub fn wrap(this: &HtmlTextAreaElement) -> String;
183    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = wrap)]
184    #[doc = "Setter for the `wrap` field of this object."]
185    #[doc = ""]
186    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)"]
187    #[doc = ""]
188    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
189    pub fn set_wrap(this: &HtmlTextAreaElement, value: &str);
190    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = type)]
191    #[doc = "Getter for the `type` field of this object."]
192    #[doc = ""]
193    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/type)"]
194    #[doc = ""]
195    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
196    pub fn type_(this: &HtmlTextAreaElement) -> String;
197    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = defaultValue)]
198    #[doc = "Getter for the `defaultValue` field of this object."]
199    #[doc = ""]
200    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)"]
201    #[doc = ""]
202    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
203    pub fn default_value(this: &HtmlTextAreaElement) -> Result<String, JsValue>;
204    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = defaultValue)]
205    #[doc = "Setter for the `defaultValue` field of this object."]
206    #[doc = ""]
207    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)"]
208    #[doc = ""]
209    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
210    pub fn set_default_value(this: &HtmlTextAreaElement, value: &str) -> Result<(), JsValue>;
211    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = value)]
212    #[doc = "Getter for the `value` field of this object."]
213    #[doc = ""]
214    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)"]
215    #[doc = ""]
216    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
217    pub fn value(this: &HtmlTextAreaElement) -> String;
218    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = value)]
219    #[doc = "Setter for the `value` field of this object."]
220    #[doc = ""]
221    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)"]
222    #[doc = ""]
223    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
224    pub fn set_value(this: &HtmlTextAreaElement, value: &str);
225    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = textLength)]
226    #[doc = "Getter for the `textLength` field of this object."]
227    #[doc = ""]
228    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/textLength)"]
229    #[doc = ""]
230    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
231    pub fn text_length(this: &HtmlTextAreaElement) -> u32;
232    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = willValidate)]
233    #[doc = "Getter for the `willValidate` field of this object."]
234    #[doc = ""]
235    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/willValidate)"]
236    #[doc = ""]
237    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
238    pub fn will_validate(this: &HtmlTextAreaElement) -> bool;
239    #[cfg(feature = "ValidityState")]
240    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = validity)]
241    #[doc = "Getter for the `validity` field of this object."]
242    #[doc = ""]
243    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validity)"]
244    #[doc = ""]
245    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `ValidityState`*"]
246    pub fn validity(this: &HtmlTextAreaElement) -> ValidityState;
247    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = validationMessage)]
248    #[doc = "Getter for the `validationMessage` field of this object."]
249    #[doc = ""]
250    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validationMessage)"]
251    #[doc = ""]
252    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
253    pub fn validation_message(this: &HtmlTextAreaElement) -> Result<String, JsValue>;
254    #[cfg(feature = "NodeList")]
255    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = labels)]
256    #[doc = "Getter for the `labels` field of this object."]
257    #[doc = ""]
258    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels)"]
259    #[doc = ""]
260    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `NodeList`*"]
261    pub fn labels(this: &HtmlTextAreaElement) -> NodeList;
262    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionStart)]
263    #[doc = "Getter for the `selectionStart` field of this object."]
264    #[doc = ""]
265    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionStart)"]
266    #[doc = ""]
267    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
268    pub fn selection_start(this: &HtmlTextAreaElement) -> Result<Option<u32>, JsValue>;
269    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionStart)]
270    #[doc = "Setter for the `selectionStart` field of this object."]
271    #[doc = ""]
272    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionStart)"]
273    #[doc = ""]
274    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
275    pub fn set_selection_start(
276        this: &HtmlTextAreaElement,
277        value: Option<u32>,
278    ) -> Result<(), JsValue>;
279    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd)]
280    #[doc = "Getter for the `selectionEnd` field of this object."]
281    #[doc = ""]
282    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionEnd)"]
283    #[doc = ""]
284    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
285    pub fn selection_end(this: &HtmlTextAreaElement) -> Result<Option<u32>, JsValue>;
286    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd)]
287    #[doc = "Setter for the `selectionEnd` field of this object."]
288    #[doc = ""]
289    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionEnd)"]
290    #[doc = ""]
291    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
292    pub fn set_selection_end(this: &HtmlTextAreaElement, value: Option<u32>)
293        -> Result<(), JsValue>;
294    # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection)]
295    #[doc = "Getter for the `selectionDirection` field of this object."]
296    #[doc = ""]
297    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)"]
298    #[doc = ""]
299    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
300    pub fn selection_direction(this: &HtmlTextAreaElement) -> Result<Option<String>, JsValue>;
301    # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection)]
302    #[doc = "Setter for the `selectionDirection` field of this object."]
303    #[doc = ""]
304    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)"]
305    #[doc = ""]
306    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
307    pub fn set_selection_direction(
308        this: &HtmlTextAreaElement,
309        value: Option<&str>,
310    ) -> Result<(), JsValue>;
311    # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = checkValidity)]
312    #[doc = "The `checkValidity()` method."]
313    #[doc = ""]
314    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/checkValidity)"]
315    #[doc = ""]
316    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
317    pub fn check_validity(this: &HtmlTextAreaElement) -> bool;
318    # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = reportValidity)]
319    #[doc = "The `reportValidity()` method."]
320    #[doc = ""]
321    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/reportValidity)"]
322    #[doc = ""]
323    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
324    pub fn report_validity(this: &HtmlTextAreaElement) -> bool;
325    # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = select)]
326    #[doc = "The `select()` method."]
327    #[doc = ""]
328    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select)"]
329    #[doc = ""]
330    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
331    pub fn select(this: &HtmlTextAreaElement);
332    # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = setCustomValidity)]
333    #[doc = "The `setCustomValidity()` method."]
334    #[doc = ""]
335    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setCustomValidity)"]
336    #[doc = ""]
337    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
338    pub fn set_custom_validity(this: &HtmlTextAreaElement, error: &str);
339    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
340    #[doc = "The `setRangeText()` method."]
341    #[doc = ""]
342    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
343    #[doc = ""]
344    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
345    pub fn set_range_text(this: &HtmlTextAreaElement, replacement: &str) -> Result<(), JsValue>;
346    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
347    #[doc = "The `setRangeText()` method."]
348    #[doc = ""]
349    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
350    #[doc = ""]
351    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
352    pub fn set_range_text_with_start_and_end(
353        this: &HtmlTextAreaElement,
354        replacement: &str,
355        start: u32,
356        end: u32,
357    ) -> Result<(), JsValue>;
358    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)]
359    #[doc = "The `setSelectionRange()` method."]
360    #[doc = ""]
361    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)"]
362    #[doc = ""]
363    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
364    pub fn set_selection_range(
365        this: &HtmlTextAreaElement,
366        start: u32,
367        end: u32,
368    ) -> Result<(), JsValue>;
369    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)]
370    #[doc = "The `setSelectionRange()` method."]
371    #[doc = ""]
372    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)"]
373    #[doc = ""]
374    #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
375    pub fn set_selection_range_with_direction(
376        this: &HtmlTextAreaElement,
377        start: u32,
378        end: u32,
379        direction: &str,
380    ) -> Result<(), JsValue>;
381}