Interface ITextBox
Properties
list
Methods
list
Properties
enabled
Declaration
Property Value
placeholder
The placeholder text of this text box. This is the prompt that is displayed in the text box when its value is null or empty.
Declaration
Property Value
readOnly
Control whether this text box is read only or not. A readonly textbox looks like a normal text box. It can get the focus but text cannot be entered in it using the keyboard.
Declaration
Property Value
textAlignment
The horizontal text alignment of this text box. This controls the alignment of both the content and the placeholder text. Value must be one of "left", "right", "center".
Declaration
Property Value
value
The text content of this text box.
Declaration
Property Value
Methods
blur()
Request this text box to release the keyboard focus.
Declaration
Returns
focus()
Move the keyboard focus to this text box
Declaration
Returns