Files
Basalt2/docs/references/elements/Switch.md
2025-04-03 16:03:43 +00:00

19 lines
374 B
Markdown

# Switch : VisualElement
The Switch is a standard Switch element with click handling and state management.
## Properties
|Property|Type|Default|Description|
|---|---|---|---|
|checked|boolean|Whether|switch is checked
## Protected Functions
|Method|Returns|Description|
|---|---|---|
|Switch:init|-|Initializes the Switch instance
|Switch:render|-|Renders the Switch