Docs 1.6
Accidentally uploaded outdated 1.6 docs
This commit is contained in:
13
docs/docs1_6/objects/Input/getInputLimit.md
Normal file
13
docs/docs1_6/objects/Input/getInputLimit.md
Normal file
@@ -0,0 +1,13 @@
|
||||
## getInputLimit
|
||||
Returns the input limit.
|
||||
|
||||
#### Returns:
|
||||
1. `number` character limit
|
||||
|
||||
#### Usage:
|
||||
* Creates a default input and sets the character limit to 8. Prints the current limit.
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local aInput = mainFrame:addInput():setInputLimit(8)
|
||||
basalt.debug(aInput:getInputLimit())
|
||||
```
|
||||
Reference in New Issue
Block a user