]>
git.proxmox.com Git - rustc.git/blob - vendor/web-sys/src/features/gen_HtmlTextAreaElement.rs
1 #![allow(unused_imports)]
4 use wasm_bindgen
::prelude
::*;
7 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTextAreaElement , typescript_type = "HTMLTextAreaElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlTextAreaElement` class."]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement)"]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
14 pub type HtmlTextAreaElement
;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = autocomplete)]
16 #[doc = "Getter for the `autocomplete` field of this object."]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)"]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
21 pub fn autocomplete(this
: &HtmlTextAreaElement
) -> String
;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = autocomplete)]
23 #[doc = "Setter for the `autocomplete` field of this object."]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autocomplete)"]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
28 pub fn set_autocomplete(this
: &HtmlTextAreaElement
, value
: &str);
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = autofocus)]
30 #[doc = "Getter for the `autofocus` field of this object."]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)"]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
35 pub fn autofocus(this
: &HtmlTextAreaElement
) -> bool
;
36 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = autofocus)]
37 #[doc = "Setter for the `autofocus` field of this object."]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/autofocus)"]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
42 pub fn set_autofocus(this
: &HtmlTextAreaElement
, value
: bool
);
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = cols)]
44 #[doc = "Getter for the `cols` field of this object."]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)"]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
49 pub fn cols(this
: &HtmlTextAreaElement
) -> u32;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = cols)]
51 #[doc = "Setter for the `cols` field of this object."]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/cols)"]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
56 pub fn set_cols(this
: &HtmlTextAreaElement
, value
: u32);
57 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = disabled)]
58 #[doc = "Getter for the `disabled` field of this object."]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)"]
62 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
63 pub fn disabled(this
: &HtmlTextAreaElement
) -> bool
;
64 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = disabled)]
65 #[doc = "Setter for the `disabled` field of this object."]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/disabled)"]
69 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
70 pub fn set_disabled(this
: &HtmlTextAreaElement
, value
: bool
);
71 #[cfg(feature = "HtmlFormElement")]
72 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = form)]
73 #[doc = "Getter for the `form` field of this object."]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/form)"]
77 #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlTextAreaElement`*"]
78 pub fn form(this
: &HtmlTextAreaElement
) -> Option
<HtmlFormElement
>;
79 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = maxLength)]
80 #[doc = "Getter for the `maxLength` field of this object."]
82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)"]
84 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
85 pub fn max_length(this
: &HtmlTextAreaElement
) -> i32;
86 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = maxLength)]
87 #[doc = "Setter for the `maxLength` field of this object."]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/maxLength)"]
91 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
92 pub fn set_max_length(this
: &HtmlTextAreaElement
, value
: i32);
93 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = minLength)]
94 #[doc = "Getter for the `minLength` field of this object."]
96 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)"]
98 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
99 pub fn min_length(this
: &HtmlTextAreaElement
) -> i32;
100 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = minLength)]
101 #[doc = "Setter for the `minLength` field of this object."]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/minLength)"]
105 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
106 pub fn set_min_length(this
: &HtmlTextAreaElement
, value
: i32);
107 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = name)]
108 #[doc = "Getter for the `name` field of this object."]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)"]
112 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
113 pub fn name(this
: &HtmlTextAreaElement
) -> String
;
114 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = name)]
115 #[doc = "Setter for the `name` field of this object."]
117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/name)"]
119 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
120 pub fn set_name(this
: &HtmlTextAreaElement
, value
: &str);
121 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = placeholder)]
122 #[doc = "Getter for the `placeholder` field of this object."]
124 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)"]
126 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
127 pub fn placeholder(this
: &HtmlTextAreaElement
) -> String
;
128 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = placeholder)]
129 #[doc = "Setter for the `placeholder` field of this object."]
131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/placeholder)"]
133 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
134 pub fn set_placeholder(this
: &HtmlTextAreaElement
, value
: &str);
135 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = readOnly)]
136 #[doc = "Getter for the `readOnly` field of this object."]
138 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)"]
140 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
141 pub fn read_only(this
: &HtmlTextAreaElement
) -> bool
;
142 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = readOnly)]
143 #[doc = "Setter for the `readOnly` field of this object."]
145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/readOnly)"]
147 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
148 pub fn set_read_only(this
: &HtmlTextAreaElement
, value
: bool
);
149 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = required)]
150 #[doc = "Getter for the `required` field of this object."]
152 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)"]
154 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
155 pub fn required(this
: &HtmlTextAreaElement
) -> bool
;
156 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = required)]
157 #[doc = "Setter for the `required` field of this object."]
159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/required)"]
161 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
162 pub fn set_required(this
: &HtmlTextAreaElement
, value
: bool
);
163 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = rows)]
164 #[doc = "Getter for the `rows` field of this object."]
166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)"]
168 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
169 pub fn rows(this
: &HtmlTextAreaElement
) -> u32;
170 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = rows)]
171 #[doc = "Setter for the `rows` field of this object."]
173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/rows)"]
175 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
176 pub fn set_rows(this
: &HtmlTextAreaElement
, value
: u32);
177 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = wrap)]
178 #[doc = "Getter for the `wrap` field of this object."]
180 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)"]
182 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
183 pub fn wrap(this
: &HtmlTextAreaElement
) -> String
;
184 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = wrap)]
185 #[doc = "Setter for the `wrap` field of this object."]
187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/wrap)"]
189 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
190 pub fn set_wrap(this
: &HtmlTextAreaElement
, value
: &str);
191 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = type)]
192 #[doc = "Getter for the `type` field of this object."]
194 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/type)"]
196 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
197 pub fn type_(this
: &HtmlTextAreaElement
) -> String
;
198 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = defaultValue)]
199 #[doc = "Getter for the `defaultValue` field of this object."]
201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)"]
203 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
204 pub fn default_value(this
: &HtmlTextAreaElement
) -> Result
<String
, JsValue
>;
205 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = defaultValue)]
206 #[doc = "Setter for the `defaultValue` field of this object."]
208 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/defaultValue)"]
210 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
211 pub fn set_default_value(this
: &HtmlTextAreaElement
, value
: &str) -> Result
<(), JsValue
>;
212 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = value)]
213 #[doc = "Getter for the `value` field of this object."]
215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)"]
217 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
218 pub fn value(this
: &HtmlTextAreaElement
) -> String
;
219 # [wasm_bindgen (structural , method , setter , js_class = "HTMLTextAreaElement" , js_name = value)]
220 #[doc = "Setter for the `value` field of this object."]
222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/value)"]
224 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
225 pub fn set_value(this
: &HtmlTextAreaElement
, value
: &str);
226 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = textLength)]
227 #[doc = "Getter for the `textLength` field of this object."]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/textLength)"]
231 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
232 pub fn text_length(this
: &HtmlTextAreaElement
) -> u32;
233 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = willValidate)]
234 #[doc = "Getter for the `willValidate` field of this object."]
236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/willValidate)"]
238 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
239 pub fn will_validate(this
: &HtmlTextAreaElement
) -> bool
;
240 #[cfg(feature = "ValidityState")]
241 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = validity)]
242 #[doc = "Getter for the `validity` field of this object."]
244 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validity)"]
246 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `ValidityState`*"]
247 pub fn validity(this
: &HtmlTextAreaElement
) -> ValidityState
;
248 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = validationMessage)]
249 #[doc = "Getter for the `validationMessage` field of this object."]
251 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/validationMessage)"]
253 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
254 pub fn validation_message(this
: &HtmlTextAreaElement
) -> Result
<String
, JsValue
>;
255 #[cfg(feature = "NodeList")]
256 # [wasm_bindgen (structural , method , getter , js_class = "HTMLTextAreaElement" , js_name = labels)]
257 #[doc = "Getter for the `labels` field of this object."]
259 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/labels)"]
261 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`, `NodeList`*"]
262 pub fn labels(this
: &HtmlTextAreaElement
) -> NodeList
;
263 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionStart)]
264 #[doc = "Getter for the `selectionStart` field of this object."]
266 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionStart)"]
268 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
269 pub fn selection_start(this
: &HtmlTextAreaElement
) -> Result
<Option
<u32>, JsValue
>;
270 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionStart)]
271 #[doc = "Setter for the `selectionStart` field of this object."]
273 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionStart)"]
275 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
276 pub fn set_selection_start(
277 this
: &HtmlTextAreaElement
,
279 ) -> Result
<(), JsValue
>;
280 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd)]
281 #[doc = "Getter for the `selectionEnd` field of this object."]
283 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionEnd)"]
285 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
286 pub fn selection_end(this
: &HtmlTextAreaElement
) -> Result
<Option
<u32>, JsValue
>;
287 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionEnd)]
288 #[doc = "Setter for the `selectionEnd` field of this object."]
290 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionEnd)"]
292 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
293 pub fn set_selection_end(this
: &HtmlTextAreaElement
, value
: Option
<u32>)
294 -> Result
<(), JsValue
>;
295 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection)]
296 #[doc = "Getter for the `selectionDirection` field of this object."]
298 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)"]
300 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
301 pub fn selection_direction(this
: &HtmlTextAreaElement
) -> Result
<Option
<String
>, JsValue
>;
302 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTextAreaElement" , js_name = selectionDirection)]
303 #[doc = "Setter for the `selectionDirection` field of this object."]
305 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/selectionDirection)"]
307 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
308 pub fn set_selection_direction(
309 this
: &HtmlTextAreaElement
,
311 ) -> Result
<(), JsValue
>;
312 # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = checkValidity)]
313 #[doc = "The `checkValidity()` method."]
315 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/checkValidity)"]
317 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
318 pub fn check_validity(this
: &HtmlTextAreaElement
) -> bool
;
319 # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = reportValidity)]
320 #[doc = "The `reportValidity()` method."]
322 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/reportValidity)"]
324 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
325 pub fn report_validity(this
: &HtmlTextAreaElement
) -> bool
;
326 # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = select)]
327 #[doc = "The `select()` method."]
329 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/select)"]
331 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
332 pub fn select(this
: &HtmlTextAreaElement
);
333 # [wasm_bindgen (method , structural , js_class = "HTMLTextAreaElement" , js_name = setCustomValidity)]
334 #[doc = "The `setCustomValidity()` method."]
336 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setCustomValidity)"]
338 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
339 pub fn set_custom_validity(this
: &HtmlTextAreaElement
, error
: &str);
340 # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
341 #[doc = "The `setRangeText()` method."]
343 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
345 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
346 pub fn set_range_text(this
: &HtmlTextAreaElement
, replacement
: &str) -> Result
<(), JsValue
>;
347 # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
348 #[doc = "The `setRangeText()` method."]
350 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
352 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
353 pub fn set_range_text_with_start_and_end(
354 this
: &HtmlTextAreaElement
,
358 ) -> Result
<(), JsValue
>;
359 # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setRangeText)]
360 #[doc = "The `setRangeText()` method."]
362 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setRangeText)"]
364 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
365 pub fn set_range_text_with_start_and_end_and_mode(
366 this
: &HtmlTextAreaElement
,
371 ) -> Result
<(), JsValue
>;
372 # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)]
373 #[doc = "The `setSelectionRange()` method."]
375 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)"]
377 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
378 pub fn set_selection_range(
379 this
: &HtmlTextAreaElement
,
382 ) -> Result
<(), JsValue
>;
383 # [wasm_bindgen (catch , method , structural , js_class = "HTMLTextAreaElement" , js_name = setSelectionRange)]
384 #[doc = "The `setSelectionRange()` method."]
386 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement/setSelectionRange)"]
388 #[doc = "*This API requires the following crate features to be activated: `HtmlTextAreaElement`*"]
389 pub fn set_selection_range_with_direction(
390 this
: &HtmlTextAreaElement
,
394 ) -> Result
<(), JsValue
>;