Updated Input (markdown)
2
Input.md
2
Input.md
@@ -6,7 +6,7 @@ Remember input inherits from [object](https://github.com/NoryiE/NyoUI/wiki/Objec
|
||||
## setInputType
|
||||
changes the input type
|
||||
````lua
|
||||
local mainFrame = CreateFrame("myFirstFrame"):show()
|
||||
local mainFrame = basalt.createFrame("myFirstFrame"):show()
|
||||
local aInput = mainFrame:addInput("myFirstInput"):setInputType("password"):show()
|
||||
````
|
||||
**parameters:** string value ("text", "password", "number")<br>
|
||||
|
||||
Reference in New Issue
Block a user