class domkit::TextField

sys::Obj
  dom::Elem
    domkit::TextField

@Js

Source

Text field input element.

See also: docDomkit

cols

Int? cols

Source

Preferred width of field in columns, or null for default.

make

new make()

Source

onAction

Void onAction(|This| f)

Source

Callback when enter key is pressed.

onModify

Void onModify(|This| f)

Source

Callback when value is modified by user.

password

Bool password

Source

Set to true to mask characters inputed into field.

placeholder

Str? placeholder

Source

Hint that is displayed in the field before a user enters a value that describes the expected input, or null for no placeholder text.

ro

Bool ro

Source

Set to true to set field to readonly mode.

select

Void select(Int start, Int end)

Source

Select given range of text

val

Str val

Source

Value of text field.