docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+11 -11
View File
@@ -149,22 +149,22 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| name | 标识符 | `any` | - | - |
| shape | 形状,可选值为 `square` | `string` | `round` | - |
| v-model | 是否为选中状态 | `boolean` | `false` | - |
| disabled | 是否禁用复选框 | `boolean` | `false` | - |
| icon-size | 图标大小,默认单位为`px` | `string | number` | `20px` | - |
| label-disabled | 是否禁用复选框文本点击 | `boolean` | `false` | - |
| label-position | 文本位置,可选值为 `left` | `string` | `right` | - |
| checked-color | 选中状态颜色 | `string` | `#1989fa` | - |
| name | 标识符 | *any* | - | - |
| shape | 形状,可选值为 `square` | *string* | `round` | - |
| v-model | 是否为选中状态 | *boolean* | `false` | - |
| disabled | 是否禁用复选框 | *boolean* | `false` | - |
| icon-size | 图标大小,默认单位为`px` | *string \| number* | `20px` | - |
| label-disabled | 是否禁用复选框文本点击 | *boolean* | `false` | - |
| label-position | 文本位置,可选值为 `left` | *string* | `right` | - |
| checked-color | 选中状态颜色 | *string* | `#1989fa` | - |
### CheckboxGroup Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| v-model | 所有选中项的标识符 | `any[]` | - | - |
| disabled | 是否禁用所有复选框 | `boolean` | `false` | - |
| max | 设置最大可选数,0 为无限制 | `number` | `0` | - |
| v-model | 所有选中项的标识符 | *any[]* | - | - |
| disabled | 是否禁用所有复选框 | *boolean* | `false` | - |
| max | 设置最大可选数,0 为无限制 | *number* | `0` | - |
### Checkbox Events