Button

ELEMENTButton

Props

Name
Example

Position

Vector2(0, 0)

Size

Vector2(0, 0)

Variant

Button.variants.Solid Button.variants.Bordered Button.variants.Solid

Example

local button = Button:new(
    Vector2(0, 0),
    nil,
    'Primary Button',
    Button.variants.Solid,
    Element.color.Primary,
    Element.size.Medium)

Last updated