Skip to content

TextBox

extends TransitionControl

Inherits from Control

The TextBox class is used to accept user input for text information.

成员变量

TextBox.text : string
The text in the input field.
TextBox.cursorColor : Color
The color of the text cursor in the input field.
TextBox.readOnly : boolean
Whether the text input field is in read-only mode.
TextBox.contentLimit : ContentLimit
Content restriction for text input fields.
TextBox.numLimit : number
The maximum character limit for text input fields.
TextBox.selectColor : Color
The color of the selected text in a text input field.