Debian Codegraph @

vendor/wikimedia/idle-dom/src/HTMLTextAreaElement.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM;
7
8 /**
9 * HTMLTextAreaElement
10 *
11 * @see https://dom.spec.whatwg.org/#interface-htmltextareaelement
12 *
13 * @property int $nodeType
14 * @property string $nodeName
15 * @property string $baseURI
16 * @property bool $isConnected
17 * @property Document|null $ownerDocument
18 * @property Node|null $parentNode
19 * @property Element|null $parentElement
20 * @property NodeList $childNodes
21 * @property Node|null $firstChild
22 * @property Node|null $lastChild
23 * @property Node|null $previousSibling
24 * @property Node|null $nextSibling
25 * @property ?string $nodeValue
26 * @property ?string $textContent
27 * @property string $innerHTML
28 * @property Element|null $previousElementSibling
29 * @property Element|null $nextElementSibling
30 * @property HTMLCollection $children
31 * @property Element|null $firstElementChild
32 * @property Element|null $lastElementChild
33 * @property int $childElementCount
34 * @property HTMLSlotElement|null $assignedSlot
35 * @property ?string $namespaceURI
36 * @property ?string $prefix
37 * @property string $localName
38 * @property string $tagName
39 * @property string $id
40 * @property string $className
41 * @property DOMTokenList $classList
42 * @property string $slot
43 * @property NamedNodeMap $attributes
44 * @property ShadowRoot|null $shadowRoot
45 * @property string $outerHTML
46 * @property CSSStyleDeclaration $style
47 * @property string $contentEditable
48 * @property string $enterKeyHint
49 * @property bool $isContentEditable
50 * @property string $inputMode
51 * @property EventHandlerNonNull|callable|null $onload
52 * @property DOMStringMap $dataset
53 * @property string $nonce
54 * @property int $tabIndex
55 * @property string $title
56 * @property string $lang
57 * @property bool $translate
58 * @property string $dir
59 * @property bool $hidden
60 * @property string $accessKey
61 * @property string $accessKeyLabel
62 * @property bool $draggable
63 * @property bool $spellcheck
64 * @property string $autocapitalize
65 * @property string $innerText
66 * @property Element|null $offsetParent
67 * @property int $offsetTop
68 * @property int $offsetLeft
69 * @property int $offsetWidth
70 * @property int $offsetHeight
71 * @property string $autocomplete
72 * @property bool $autofocus
73 * @property int $cols
74 * @property string $dirName
75 * @property bool $disabled
76 * @property HTMLFormElement|null $form
77 * @property int $maxLength
78 * @property int $minLength
79 * @property string $name
80 * @property string $placeholder
81 * @property bool $readOnly
82 * @property bool $required
83 * @property int $rows
84 * @property string $wrap
85 * @property string $type
86 * @property string $defaultValue
87 * @property string $value
88 * @property int $textLength
89 * @property bool $willValidate
90 * @property ValidityState $validity
91 * @property string $validationMessage
92 * @property NodeList $labels
93 * @property int $selectionStart
94 * @property int $selectionEnd
95 * @property string $selectionDirection
96 * @phan-forbid-undeclared-magic-properties
97 */
98 interface HTMLTextAreaElement extends HTMLElement {
99 // Direct parent: HTMLElement
100
101 /**
102 * @return string
103 */
104 public function getAutocomplete(): string;
105
106 /**
107 * @param string $val
108 */
109 public function setAutocomplete( string $val ): void;
110
111 /**
112 * @return bool
113 */
114 public function getAutofocus(): bool;
115
116 /**
117 * @param bool $val
118 */
119 public function setAutofocus( bool $val ): void;
120
121 /**
122 * @return int
123 */
124 public function getCols(): int;
125
126 /**
127 * @param int $val
128 */
129 public function setCols( int $val ): void;
130
131 /**
132 * @return string
133 */
134 public function getDirName(): string;
135
136 /**
137 * @param string $val
138 */
139 public function setDirName( string $val ): void;
140
141 /**
142 * @return bool
143 */
144 public function getDisabled(): bool;
145
146 /**
147 * @param bool $val
148 */
149 public function setDisabled( bool $val ): void;
150
151 /**
152 * @return HTMLFormElement|null
153 */
154 public function getForm();
155
156 /**
157 * @return int
158 */
159 public function getMaxLength(): int;
160
161 /**
162 * @param int $val
163 */
164 public function setMaxLength( int $val ): void;
165
166 /**
167 * @return int
168 */
169 public function getMinLength(): int;
170
171 /**
172 * @param int $val
173 */
174 public function setMinLength( int $val ): void;
175
176 /**
177 * @return string
178 */
179 public function getName(): string;
180
181 /**
182 * @param string $val
183 */
184 public function setName( string $val ): void;
185
186 /**
187 * @return string
188 */
189 public function getPlaceholder(): string;
190
191 /**
192 * @param string $val
193 */
194 public function setPlaceholder( string $val ): void;
195
196 /**
197 * @return bool
198 */
199 public function getReadOnly(): bool;
200
201 /**
202 * @param bool $val
203 */
204 public function setReadOnly( bool $val ): void;
205
206 /**
207 * @return bool
208 */
209 public function getRequired(): bool;
210
211 /**
212 * @param bool $val
213 */
214 public function setRequired( bool $val ): void;
215
216 /**
217 * @return int
218 */
219 public function getRows(): int;
220
221 /**
222 * @param int $val
223 */
224 public function setRows( int $val ): void;
225
226 /**
227 * @return string
228 */
229 public function getWrap(): string;
230
231 /**
232 * @param string $val
233 */
234 public function setWrap( string $val ): void;
235
236 /**
237 * @return string
238 */
239 public function getType(): string;
240
241 /**
242 * @return string
243 */
244 public function getDefaultValue(): string;
245
246 /**
247 * @param string $val
248 */
249 public function setDefaultValue( string $val ): void;
250
251 /**
252 * @return string
253 */
254 public function getValue(): string;
255
256 /**
257 * @param ?string $val
258 */
259 public function setValue( ?string $val ): void;
260
261 /**
262 * @return int
263 */
264 public function getTextLength(): int;
265
266 /**
267 * @return bool
268 */
269 public function getWillValidate(): bool;
270
271 /**
272 * @return ValidityState
273 */
274 public function getValidity();
275
276 /**
277 * @return string
278 */
279 public function getValidationMessage(): string;
280
281 /**
282 * @return bool
283 */
284 public function checkValidity(): bool;
285
286 /**
287 * @return bool
288 */
289 public function reportValidity(): bool;
290
291 /**
292 * @param string $error
293 * @return void
294 */
295 public function setCustomValidity( string $error ): void;
296
297 /**
298 * @return NodeList
299 */
300 public function getLabels();
301
302 /**
303 * @return void
304 */
305 public function select(): void;
306
307 /**
308 * @return int
309 */
310 public function getSelectionStart(): int;
311
312 /**
313 * @param int $val
314 */
315 public function setSelectionStart( int $val ): void;
316
317 /**
318 * @return int
319 */
320 public function getSelectionEnd(): int;
321
322 /**
323 * @param int $val
324 */
325 public function setSelectionEnd( int $val ): void;
326
327 /**
328 * @return string
329 */
330 public function getSelectionDirection(): string;
331
332 /**
333 * @param string $val
334 */
335 public function setSelectionDirection( string $val ): void;
336
337 /**
338 * @param string $replacement
339 * @return void
340 */
341 public function setRangeText( string $replacement ): void;
342
343 /**
344 * @param int $start
345 * @param int $end
346 * @param ?string $direction
347 * @return void
348 */
349 public function setSelectionRange( int $start, int $end, ?string $direction = null ): void;
350
351 }