class

TextArea

@Js
class TextArea : Elem

Multi-line text input element

See also: docDomkit

constructors make

fields val

Value of text area

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

rows

Preferred height of text area in rows, or null for default

cols

Preferred width of text area in columns, or null for default

ro

Set to true to set text area to readonly mode

methods onModify

Callback when value is modified by user

cols Int? : cols

Preferred width of text area in columns, or null for default.

make new make()

onModify Void onModify(|This| f)

Callback when value is modified by user.

placeholder 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.

ro Bool : ro

Set to true to set text area to readonly mode.

rows Int? : rows

Preferred height of text area in rows, or null for default.

val Str : val

Value of text area.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST