Skip to content

reference controls textbox

Usagirei edited this page Apr 10, 2018 · 5 revisions

Textbox

An User Interactable Textbox.

Attributes:

Name Type Description
type Option Textbox Type
Possible Values: simple multiline password
text String Current Value
mask Char Character mask for password type Textboxes.
max-lenght Integer Maximum allowed number of characters
on-change Callback<String> Called when the Textbox text changes

Layout Attributes:

Name Type Description
width Float Width
height Float Height
min-width Float Minimum width
min-height Float Minimum height
max-width Float Maximum width
max-height Float Maximum height
stretch Option Stretch Mode (use along min/max attributes)
Possible Values: none horizontal vertical both

Common Attributes (Not Bindable):

Name Type Description
name Identifier Control Name. Used for Callbacks
data-context Identifier Changes Data Context Property