ToggleSwitch
Component ToggleSwitch, similar to Checkbox. It manages binary states.
Implements mixins RequiredInputMixin and BasicInputMixin.
Send me weekly
html
<Card>
<ToggleSwitch name="newsletter" label="Send me weekly" />
</Card>Props
showYesNo(defaultfalse): Show Yes and No labels next to toggle.
Send me weekly
No
Yes
html
<Card>
<ToggleSwitch name="newsletter" label="Send me weekly" showYesNo />
</Card>Emits
changeField. Custom change event.
Vuersatile Components