Updated docs
There is still stuff to do
This commit is contained in:
17
docs/objects/Frame/setScrollAmount.md
Normal file
17
docs/objects/Frame/setScrollAmount.md
Normal file
@@ -0,0 +1,17 @@
|
||||
## setScrollAmount
|
||||
Sets the maximum offset it is allowed to scroll
|
||||
|
||||
#### Parameters:
|
||||
1. `number` maximum y offset
|
||||
|
||||
#### Returns:
|
||||
1. `frame` The frame being used
|
||||
|
||||
#### Usage:
|
||||
* Creates a new base frame and makes it scrollable and sets the maximum amount to 25
|
||||
```lua
|
||||
local myFrame = basalt.createFrame():setScrollable():setScrollAmount(25)
|
||||
```
|
||||
```xml
|
||||
<frame scrollAmount="25"></frame>
|
||||
```
|
||||
Reference in New Issue
Block a user