Skip to content

switch ​

基本使用 ​

size ​

更改默认值 ​

更改类型 ​

添加开关描述 ​

disabled ​

事件 ​

属性(Attributes) ​

属性描述类型值默认
size组件大小stringmini/ small/ medium/ minimini
type组件类型stringround/ tube/ inline/'round'
uncheckedText组件未选中描述string--''
disabled禁用boolean--false
checkedText组件选中描述string--''
openValue组件打开值string/Boolean--true
closeValue组件打开值string/Boolean--false

Released under the MIT License.