docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+10 -10
View File
@@ -98,16 +98,16 @@ export default {
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| 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` |
| 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` | - |
### Events