Skip to content

Switch 开关

开关切换组件。

基础用法

vue
<ASwitch v-model:value="val" />
<ASwitch v-model:value="val" disabled />

API

属性类型默认值说明
valuebooleanfalse开关状态
disabledbooleanfalse禁用
roundbooleantrue圆角

Released under the MIT License.