Updated Input (markdown)
2
Input.md
2
Input.md
@@ -14,7 +14,7 @@ Here are all possible functions available for inputs. Remember input inherit fro
|
|||||||
changes the input type
|
changes the input type
|
||||||
````lua
|
````lua
|
||||||
local mainFrame = CreateFrame("myFirstFrame"):show()
|
local mainFrame = CreateFrame("myFirstFrame"):show()
|
||||||
local aButton = mainFrame:addButton("myFirstButton"):setInputType("password"):show()
|
local aInput = mainFrame:addInput("myFirstInput"):setInputType("password"):show()
|
||||||
````
|
````
|
||||||
**args:** "text", "password", "number" are the possible input types - default is text<br>
|
**args:** "text", "password", "number" are the possible input types - default is text<br>
|
||||||
**returns:** the object<br>
|
**returns:** the object<br>
|
||||||
|
|||||||
Reference in New Issue
Block a user