type

TextArea

src @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

src Int? cols

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

make

src new make()

onModify

src Void onModify(|This| f)

Callback when value is modified by user.

placeholder

src 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

src Bool ro

Set to true to set text area to readonly mode.

rows

src Int? rows

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

val

src Str val

Value of text area.