Input Client โ
A library to manage the input box
JO Functions โ
jo.input.native() โ
A function to open the native input
Syntax โ
lua
jo.input.native(label, placeholder, maxStringLength)
Parameters โ
label
: string
The text above the typing field in the black square
placeholder
: string
An Example Text, what it should say in the typing field
maxStringLength
: integer Optional
Maximum String length
Return Value โ
Type : string
Return the text from the input
Example โ
lua
local input = jo.input.native('The label: ', 'the placeholder')
print(input)