[Doc] default slot name

This commit is contained in:
陈嘉涵
2019-04-30 17:32:00 +08:00
parent 2bb01b4a63
commit cd0720954c
65 changed files with 97 additions and 98 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ export default {
| Name | Description | slot-scope |
|------|------|------|
| - | Custom label | - |
| default | Custom label | - |
| icon | Custom icon | checked: whether to be checked |
### Checkbox Methods
+4 -4
View File
@@ -159,22 +159,22 @@ export default {
### Checkbox Event
| 事件名 | 说明 | 回调参数 |
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| change | 当绑定值变化时触发的事件 | 当前组件的值 |
| click | 点击复选框时触发 | event: Event |
### CheckboxGroup Event
| 事件名 | 说明 | 回调参数 |
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| change | 当绑定值变化时触发的事件 | 当前组件的值 |
### Checkbox 插槽
### Checkbox Slots
| 名称 | 说明 | slot-scope |
|------|------|------|
| - | 自定义文本 | - |
| default | 自定义文本 | - |
| icon | 自定义图标 | checked: 是否为选中状态 |
### Checkbox 方法