Element Properties
Each type of element has unique properties that you can assign them when creating; and this page lists them all.
Toggle
default
Boolean
The default state of the toggle
flag
String
The flag assigned to the toggle value
Slider
min_text
String
The text the slider displays when the slider's value is the lowest possible
max_text
String
The text the slider displays when the slider's value is maxxed out
decimals
Number
The decimal amount used in slider value (1 = first decimal place, and so on)
default
Number
The default value of the slider
prefix
String
The text that shows before the value in the menu
suffix
String
The text that shows after the value in the menu
flag
String
The flag assigned to the slider value
min
Number
The minimum value allowed to set the slider to
max
Number
The maximum value allowed to set the slider to
Dropdown
default
Table
The default options to be selected
options
Table
The options available in the dropdown
requires_one
Boolean
Whether or not the dropdown selection can be none
multi
Boolean
Whether or not multiple options can be selected
flag
String
The flag assigned to the dropdown selected options
Colorpicker
default_transparency
Number
The default transparency of the colorpicker
transparency_flag
String
The flag assigned to the transparency value
default_color
Color3
The default color of the colorpicker
color_flag
String
The flag assigned to the color value
Textbox
default
String
The default value of the textbox
flag
String
The flag assigned to the textbox value
Button
confirmation
Boolean
Whether or not the button must be clicked twice (confirmed) to activate, like seen with the load and save config buttons
Last updated