Skip to content
On this page

VSwitch

Switch components that are able to toggle two states

Import

js
import { VSwitch } from 'vui-vc-next'

app.component(VSwitch.name, VSwitch)

API

Switch Props

PropsDescriptionTypeDefault
v-modelWhether it is on or offBooleanfalse
disabledWhether it is disabled or notBooleanfalse

Switch Instance Events

@change(e)