class domkit::TextField
sys::Obj dom::Elem domkit::TextField
@Js
Text field input element.
See also: docDomkit
- cols
-
Int? colsPreferred width of field in columns, or
nullfor default. - make
-
new make() - onAction
-
Callback when
enterkey is pressed. - onModify
-
Callback when value is modified by user.
- password
-
Bool passwordSet to
trueto mask characters inputed into field. - placeholder
-
Str? placeholderHint that is displayed in the field before a user enters a value that describes the expected input, or
nullfor no placeholder text. - ro
-
Bool roSet to
trueto set field to readonly mode. - select
-
Void select(Int start, Int end)Select given range of text
- val
-
Str valValue of text field.