TextInputElement
TextInputElement defines the classic input text for user data interaction.
It support i18n for description text.
TextInputElement with description text
...
var aTextInput = new TextInputElement("Description","text")
.setPosition("center")
.setFontSize("18px")
.setColor("#000000")
.setColorDescription("#8F8F8F");
...
Form Management
You can define a flow when completing a form. In the next example, if type enter in one input field,
the caret jumps to the next field:
...
var aPasswordInput = new TextInputElement("Password","text")
.setPosition("center");
var aLoginInput = new TextInputElement("Login","text")
.setPosition("center")
.setFollowing(aPasswordInput);
aPasswordInput.setFollowing(aLoginInput);
...
Password Mode
...
var aPasswordInput = new TextInputElement("Password","password")
.setPosition("center");
...