TextAreaElement

EventTargetNodeDOMElementElementjs.html.TextAreaElement (extern class)

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: String

autofocus: Bool

cols: Int

disabled: Bool


maxLength: Int

minLength: Int

name: String

placeholder: String

readOnly: Bool

required: Bool

rows: Int

wrap: String

type: String

defaultValue: String

value: String

textLength: Int

willValidate: Bool

validity: ValidityState

validationMessage: String

labels: NodeList

selectionStart: Int

selectionEnd: Int

selectionDirection: String

checkValidity(): Bool
Returns
Bool

reportValidity(): Bool
Returns
Bool

setCustomValidity(error: String): Void
Name Type
error String

select(): Void

setRangeText(replacement: String, start: Int, end: Int, ?selectionMode: SelectionMode = PRESERVE): Void
Name Type Default
replacement String
start Int
end Int
selectionMode SelectionMode PRESERVE

setSelectionRange(start: Int, end: Int, ?direction: String): Void
Name Type Default
start Int
end Int
direction String (optional)