Skip to content
hilbert-vue3-ui
Main Navigation
首页
组件
指南
vue2版本
Appearance
Menu
Return to top
On this page
BulbSwitch
灯泡开关
BulbSwitch, 一个纯 css 实现的灯泡开关组件,可以应用项目暗黑模式的开关
基本用法
loading
API
Props
参数
说明
类型
例子
默认值
modelValue
值
boolean
false
width
开关大小 px
number
220
Events
事件名
说明
回调参数