Constructor
new UITextInput(posopt, sizeopt, textopt)
Create a UITextInput object
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
pos | Vector2 | <optional> | |
size | Vector2 | <optional> | |
text | string | <optional> |
- Source
Extends
- UIObject
Members
maxLength
Properties| Type | Description |
|---|---|
| number | Max length of input (0 = no limit) |
- Source
Methods
onKeyDown(eopt)
Key down event handler if this object is being edited
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
e | KeyboardEvent | <optional> |
- Source
stopEditing()
Stop editing the text edited
- Source