Skip to content

BulbSwitch 灯泡开关

BulbSwitch, 一个纯 css 实现的灯泡开关组件,可以应用项目暗黑模式的开关

基本用法

loading

API

Props

参数说明类型例子默认值
modelValuebooleanfalse
width开关大小 pxnumber220

Events

事件名说明回调参数

Released under the MIT License.