updated docs

This commit is contained in:
Samkist
2022-05-30 02:23:40 -04:00
parent 2a8817df96
commit e5bc39a6f7
51 changed files with 1673 additions and 3347 deletions

View File

@@ -1,15 +1,13 @@
# 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](/objects/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>
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>