import{_ as e,a as d,b as a,ag as r}from"./chunks/framework.BcrMLAmg.js";const m=JSON.parse('{"title":"Switch","description":"","frontmatter":{},"headers":[],"relativePath":"references/elements/Switch.md","filePath":"references/elements/Switch.md","lastUpdated":1757844696000}'),o={name:"references/elements/Switch.md"};function n(i,t,c,h,s,l){return a(),d("div",null,t[0]||(t[0]=[r('

Switch

The Switch is a standard Switch element with click handling and state management.

Extends: VisualElement

Properties

PropertyTypeDefaultDescription
checkedbooleanWhetherswitch is checked
textstringTextto display next to switch
autoSizebooleanWhetherto automatically size the element to fit switch and text
onBackgroundnumberBackgroundcolor when ON
offBackgroundnumberBackgroundcolor when OFF
',5)]))}const _=e(o,[["render",n]]);export{m as __pageData,_ as default};