Description

Toggle is a simple switch component that interfaces with Svelvet input and output stores. Toggle presents a switch that can be interacted with to toggle betweem true and false.

Refer to the overview in this section for more detailed usage.

Props

parameterStore
CustomWritable<boolean>
required

The input store associated with the parameter.

color
CSS Color String
default: "limegreen"

Toggle background color when switch is set to true.