# BaseToggle

Toggle Component

# Props

Prop name Description Type Values Default
name specify a descriptive name
this will not be displayed but is only there for usability purposes
string - 'baseToggle'
label specify label string - 'baseToggle'
disabled disable the toggle button boolean - false
v-model is toggle checked boolean - false
hideLabel specify visibility of the label boolean - false
bindSlotToState bind visibility of slot content to components checked state boolean - false
id if field is occurring more than once - set an id string - ''

# Events

Event name Properties Description
clicked undefined string, boolean - emitted input value (string for Radio Button, boolean value for Checkmark) event emitted on radio button / checkmark click

# Slots

Name Description Bindings
default slot after the label

# Demo

Toggle Button Example

Last Updated: 3/27/2023, 4:42:24 PM