I created a text box where the placeholder moves out of the way when the text box gets focus:
<input id="username" class="e-input">
Then in javascript file:
var inputobj1 = new ej.inputs.TextBox({
placeholder: 'Username',
floatLabelType: 'Auto',
});
inputobj1.appendTo('#username');
How can I change the colors and the fonts? Are there other parameters for "ej.inputs.TextBox"?