fix switch doc

pull/165/head
wangxueliang 2018-02-27 13:51:25 +08:00
parent d4713df7e0
commit 03e5565fc5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -10,7 +10,7 @@
| loading | 加载中的开关 | boolean | false |
| size | 开关大小,可选值:`default` `small` | string | default |
| unCheckedChildren | 非选中时的内容 | string\|slot | |
| onChange | 变化时回调函数 | Function(checked:Boolean) | |
| change | 变化时回调函数 | Function(checked:Boolean) | |
## 方法