TextAreaElement
The HTMLTextAreaElement interface provides special properties and methods for manipulating the layout and presentation of textarea elements.
Documentation HTMLTextAreaElement by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
autocomplete: Stringautofocus: Boolcols: Intdisabled: Boolform: FormElementmaxLength: IntminLength: Intname: Stringplaceholder: StringreadOnly: Boolrequired: Boolrows: Intwrap: Stringtype: StringdefaultValue: Stringvalue: StringtextLength: IntwillValidate: Boolvalidity: ValidityStatevalidationMessage: Stringlabels: NodeListselectionStart: IntselectionEnd: IntselectionDirection: StringcheckValidity(): Bool| Returns |
|---|
| Bool |
reportValidity(): Bool| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
error |
String |
select(): VoidsetRangeText(replacement: String, start: Int, end: Int, ?selectionMode: SelectionMode = PRESERVE): Void| Name | Type | Default |
|---|---|---|
replacement |
String | |
start |
Int | |
end |
Int | |
selectionMode |
SelectionMode | PRESERVE |
| Name | Type | Default |
|---|---|---|
start |
Int | |
end |
Int | |
direction |
String | (optional) |