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

465 B

Frame : Container

Functions

Method Returns Description
Frame.new Frame
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

local element = Frame.new("myId", basalt)

Frame:init()