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
+8 -8
View File
@@ -100,14 +100,14 @@ export default {
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Check status of Switch | `any` | `false` | - |
| loading | Whether to show loading icon | `boolean` | `false` | - |
| disabled | Whether to disable switch | `boolean` | `false` | - |
| size | Size of switch | `string` | `30px` | - |
| active-color | Background color when active | `string` | `#1989fa` | - |
| inactive-color | Background color when inactive | `string` | `#fff` | - |
| active-value | Value when active | `any` | `true` | - |
| inactive-value | Value when inactive | `any` | `false` | - |
| v-model | Check status of Switch | *any* | `false` | - |
| loading | Whether to show loading icon | *boolean* | `false` | - |
| disabled | Whether to disable switch | *boolean* | `false` | - |
| size | Size of switch | *string* | `30px` | - |
| active-color | Background color when active | *string* | `#1989fa` | - |
| inactive-color | Background color when inactive | *string* | `#fff` | - |
| active-value | Value when active | *any* | `true` | - |
| inactive-value | Value when inactive | *any* | `false` | - |
### Events
+8 -8
View File
@@ -100,14 +100,14 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| v-model | 开关选中状态 | `any` | `false` | - |
| loading | 是否为加载状态 | `boolean` | `false` | - |
| disabled | 是否为禁用状态 | `boolean` | `false` | - |
| size | 开关尺寸 | `string` | `30px` | - |
| active-color | 打开时的背景色 | `string` | `#1989fa` | - |
| inactive-color | 关闭时的背景色 | `string` | `#fff` | - |
| active-value | 打开时的值 | `any` | `true` | - |
| inactive-value | 关闭时的值 | `any` | `false` | - |
| v-model | 开关选中状态 | *any* | `false` | - |
| loading | 是否为加载状态 | *boolean* | `false` | - |
| disabled | 是否为禁用状态 | *boolean* | `false` | - |
| size | 开关尺寸 | *string* | `30px` | - |
| active-color | 打开时的背景色 | *string* | `#1989fa` | - |
| inactive-color | 关闭时的背景色 | *string* | `#fff` | - |
| active-value | 打开时的值 | *any* | `true` | - |
| inactive-value | 关闭时的值 | *any* | `false` | - |
### Events