Interface: ToggleOptions
Beta
Options for configuring a toggle component.
Properties
description?
optionaldescription?:string|ObservableString|ObservableUIRawMessage|UIRawMessage
Beta
Remarks
Descriptive text shown around the toggle to provide additional context.
disabled?
optionaldisabled?:boolean|ObservableBoolean
Beta
Remarks
When true or bound to a true ObservableBoolean, the toggle is shown but cannot be interacted with.
tooltip?
optionaltooltip?:string|ObservableString|ObservableUIRawMessage|UIRawMessage
Beta
Remarks
Text shown in a tooltip when the player hovers over the toggle.
visible?
optionalvisible?:boolean|ObservableBoolean
Beta
Remarks
When false or bound to a false ObservableBoolean, the toggle is hidden.
