Data Flow
Toggle
A simple true/false switch for use with our data flow system
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>
requiredThe input store associated with the parameter.
color
CSS Color String
default: "limegreen"Toggle background color when switch is set to true.