docs: add version tip in en docs (#4262)
This commit is contained in:
+10
-10
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user