27 lines
465 B
Markdown
27 lines
465 B
Markdown
# Frame : Container
|
|
|
|
## Functions
|
|
|
|
|Method|Returns|Description|
|
|
|---|---|---|
|
|
|[Frame.new](#Frame.new)|Frame|
|
|
|[Frame:init](#Frame:init)|-|
|
|
|
|
## Frame.new(props, basalt)
|
|
Creates a new Frame instance
|
|
|
|
### Parameters
|
|
* `props` `table` The properties to initialize the element with
|
|
* `basalt` `table` The basalt instance
|
|
|
|
### Returns
|
|
* `Frame` `object` The newly created Frame instance
|
|
|
|
### Usage
|
|
```lua
|
|
local element = Frame.new("myId", basalt)
|
|
```
|
|
|
|
## Frame:init()
|
|
|