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