fix switch doc
parent
d4713df7e0
commit
03e5565fc5
|
@ -10,7 +10,7 @@
|
|||
| loading | loading state of switch | boolean | false |
|
||||
| size | the size of the `Switch`, options: `default` `small` | string | default |
|
||||
| unCheckedChildren | content to be shown when the state is unchecked | string\|slot | |
|
||||
| onChange | a callback function, can be executed when the checked state is changing | Function(checked:Boolean) | |
|
||||
| change | a callback function, can be executed when the checked state is changing | Function(checked:Boolean) | |
|
||||
|
||||
## Methods
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
| loading | 加载中的开关 | boolean | false |
|
||||
| size | 开关大小,可选值:`default` `small` | string | default |
|
||||
| unCheckedChildren | 非选中时的内容 | string\|slot | |
|
||||
| onChange | 变化时回调函数 | Function(checked:Boolean) | |
|
||||
| change | 变化时回调函数 | Function(checked:Boolean) | |
|
||||
|
||||
## 方法
|
||||
|
||||
|
|
Loading…
Reference in New Issue