- Index
- »
- fan.domkit
- »
- TextArea
TextArea
@Js
class TextArea : Elem
Multi-line text input element
See also: docDomkit
Preferred width of text area in columns, or null for default
Hint that is displayed in the text area before a user enters
value that describes the expected input, or null for no
placeholder text
Set to true to set text area to readonly mode
Preferred height of text area in rows, or null for default
Value of text area
Callback when value is modified by user
Int? : cols
Preferred width of text area in columns, or null for default.
new make()
Void onModify(|This| f)
Callback when value is modified by user.
Str? : placeholder
Hint that is displayed in the text area before a user enters
value that describes the expected input, or null for no
placeholder text.
Bool : ro
Set to true to set text area to readonly mode.
Int? : rows
Preferred height of text area in rows, or null for default.
Str : val
Value of text area.