input({ layoutConfig:layoutConfig().just().configHeight(LayoutSpec.FIT), width:300, maxLength: 20, hintText : "HintText", textSize: 40, text: 'HelloDoric', textAlignment: Gravity.Left, textColor: Color.WHITE, multiline:true hintText: "Please input something", hintTextColor: Color.GREEN, font: 'DINPro', hintFont: 'Hanabi', inputType: InputType.Decimal, password: true, enableHorizontalScrollBar:true onTextChange:(s) => { log(`onTextChange:${s}`) }, onFocusChange: (f) => { log(`onFocusChange:${f}`) } beforeTextChange = (change) => { log(`beforeTextChange ${JSON.stringify(change)}`); return true; }
|