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