Skip to content

TextInput

AR2000AR edited this page Jul 10, 2023 · 1 revision

TextInput(Text)

textInput:placeholder(value:string):string

The placeholder char to print instead of the normal text. The placeholder cannot be removed once set but can be changed.

Parameters :

  • value:string

textInput:callback():function

You cannot change the TextInput callback unlike with other widget's

Return :

  • function - the widget's callback methods. It take a 'key_down' event as parameters

textInput:multilines(value:boolean):boolean

Allow multiples lines input.

Parameters :

  • value:boolean

Return :

  • boolean

Clone this wiki locally