Add all objects
This commit is contained in:
15
docs/objects/Input.md
Normal file
15
docs/objects/Input.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Input
|
||||
|
||||
With input's you are able to create a object where the user can type something in.<br>
|
||||
|
||||
Here are all possible functions available for inputs:<br>
|
||||
Remember input inherits from [object](https://github.com/NoryiE/NyoUI/wiki/Object):
|
||||
|
||||
## setInputType
|
||||
changes the input type
|
||||
````lua
|
||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aInput = mainFrame:addInput("myFirstInput"):setInputType("password"):show()
|
||||
````
|
||||
**parameters:** string value ("text", "password", "number")<br>
|
||||
**returns:** self<br>
|
||||
Reference in New Issue
Block a user