Switch

Switch between two status

Import

import { Switch } from  'mand-mobile-next'

Vue.createApp().component(Switch.name, Switch)

Code Examples

API

Switch Props

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

Switch Instance Events

@change(isActive)
PropsDescriptionType
isActiveWhether it is on or offBoolean