675 B
675 B
Frame : Container
This is the frame class. It serves as a grouping container for other elements.
Functions
| Method | Returns | Description |
|---|---|---|
| Frame.new | Frame | Creates a new Frame instance |
| Frame:init | Frame | Initializes the Frame instance |
Frame.new()
Creates a new Frame instance
Returns
FrameselfThe newly created Frame instance
Usage
local frame = Frame.new()
Frame:init(props, basalt)
Initializes the Frame instance
Parameters
propstableThe properties to initialize the element withbasalttableThe basalt instance
Returns
FrameselfThe initialized instance