HTMLTextAreaElement$Typings extension
Properties
-
addEventListener
→ ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
autocomplete
↔ Object
-
MDN Reference
getter/setter pair
-
checkValidity
↔ bool Function()
-
getter/setter pair
-
cols
↔ num
-
Sets or retrieves the width of the object.
getter/setter pair
-
defaultValue
↔ String
-
Sets or retrieves the initial contents of the object.
getter/setter pair
-
dirName
↔ String
-
getter/setter pair
-
disabled
↔ bool
-
getter/setter pair
-
form
→ HTMLFormElement?
-
Retrieves a reference to the form that the object is embedded in.
no setter
-
labels
→ NodeListOf<HTMLLabelElement>
-
MDN Reference
no setter
-
maxLength
↔ num
-
Sets or retrieves the maximum number of characters that the user can enter in a text control.
getter/setter pair
-
minLength
↔ num
-
getter/setter pair
-
name
↔ String
-
Sets or retrieves the name of the object.
getter/setter pair
-
placeholder
↔ String
-
Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
getter/setter pair
-
readOnly
↔ bool
-
Sets or retrieves the value indicated whether the content of the object is read-only.
getter/setter pair
-
removeEventListener
→ ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
reportValidity
↔ bool Function()
-
getter/setter pair
-
required
↔ bool
-
When present, marks an element that can't be submitted without a value.
getter/setter pair
-
rows
↔ num
-
Sets or retrieves the number of horizontal rows contained in the object.
getter/setter pair
-
select
↔ void Function()
-
getter/setter pair
-
selectionDirection
↔ SelectionDirectionOptions
-
getter/setter pair
-
selectionEnd
↔ num
-
Gets or sets the end position or offset of a text selection.
getter/setter pair
-
selectionStart
↔ num
-
Gets or sets the starting position or offset of a text selection.
getter/setter pair
-
setCustomValidity
↔ void Function(String)
-
getter/setter pair
-
setSelectionRange
↔ void Function([num?, num?, UnionEnum1?])
-
getter/setter pair
-
textLength
→ num
-
MDN Reference
no setter
-
type
→ String
-
Retrieves the type of control.
no setter
-
validationMessage
→ String
-
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.
no setter
-
validity
→ ValidityState
-
Returns a ValidityState object that represents the validity states of an element.
no setter
-
value
↔ String
-
Retrieves or sets the text in the entry field of the textArea element.
getter/setter pair
-
willValidate
→ bool
-
Returns whether an element will successfully validate based on forms validation rules and constraints.
no setter
-
wrap
↔ String
-
Sets or retrieves how to handle wordwrapping in the object.
getter/setter pair