Skip to content

Properties

Depso edited this page Aug 2, 2024 · 6 revisions

Roblox properties 🔨

The properties of the Roblox class are merged in the configuration of a element.
For example, including Size will be passed as a property to the instance instead of the class
because it does not exist in the class itself.

The first passed parameter of the callback from the configuration will contain this metatable.
Read the documentation of Combos for an example of this usage.

Additional style properties ✨

All elements will have additional properties such as:

Borders

  • Border = boolean \
  • BorderThickness = int

Corner Radius

  • CornerRadius = int

Gradients

  • NoGradient = boolean

Aspect Radios

  • Ratio = boolean \
  • RatioAxis = "Height" \
  • AspectType = Enum.AspectType.ScaleWithParentSize

Animations

Some elements with animations will have a option to disable the animations: \

  • NoAnimation = boolean
Clone this wiki locally