type

TextArea

@Js
class TextArea : Elem

Multi-line text input element

See also: docDomkit

constructors

fields

cols

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

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

Set to true to set text area to readonly mode.

rows

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

val

Value of text area.

methods

onModify

Callback when value is modified by user.

Slot Details

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.