Files
Basalt2/docs/references/Frame.md
2025-02-13 09:51:51 +00:00

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()