The text control is used for editing text input.
<text hint="enter value" onchange="update" />actions.update = function (text)
endSet the ID for this control so that it can be updated later. See layout library.
<text id="my_txt" />Set the visibility state using visible or invisible or gone.
<text visibility="gone" />Set the current text to be shown.
<text text="hello world" />Set horizontal text alignment using left or center or right.
<text textalign="right" />Set the placeholder hint (text to be shown when empty).
<text hint="enter here" />Set whether or not the control accepts multiline input (default false).
<text multiline="true" />See the styling page for more details.
Occurs when the text changes.
<text onchange="changed" />actions.changed = function (text)
...
endOccurs when editing ends.
<text ondone="done" />actions.done = function (text)
...
end