docs: prettier all markdown files

This commit is contained in:
chenjiahan
2020-04-11 09:17:33 +08:00
committed by neverland
parent 48067f79db
commit 7f84f8a487
140 changed files with 4441 additions and 4723 deletions
+17 -17
View File
@@ -27,10 +27,10 @@ Vue.use(SwitchCell);
export default {
data() {
return {
checked: true
}
}
}
checked: true,
};
},
};
```
### Disabled
@@ -58,21 +58,21 @@ use `loading` property to keep component in loading state
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | on-off state of the switch | *any* | `false` |
| title | the left side title | *string* | `''` |
| border | whether to show cell border | *boolean* | `true` |
| cell-size | Cell sizecan be set to `large` | *string* | - |
| loading | whether switch is loading | *boolean* | `false` |
| disabled | whether to disable switch | *boolean* | `false` |
| size | Size of switch | *number \| string* | `24px` |
| active-color | Background of switch color when active | *string* | `#1989fa` |
| inactive-color | Background of switch color when inactive | *string* | `white` |
| active-value | Value when active | *any* | `true` |
| inactive-value | Value when inactive | *any* | `false` |
| --- | --- | --- | --- |
| v-model | on-off state of the switch | _any_ | `false` |
| title | the left side title | _string_ | `''` |
| border | whether to show cell border | _boolean_ | `true` |
| cell-size | Cell sizecan be set to `large` | _string_ | - |
| loading | whether switch is loading | _boolean_ | `false` |
| disabled | whether to disable switch | _boolean_ | `false` |
| size | Size of switch | _number \| string_ | `24px` |
| active-color | Background of switch color when active | _string_ | `#1989fa` |
| inactive-color | Background of switch color when inactive | _string_ | `white` |
| active-value | Value when active | _any_ | `true` |
| inactive-value | Value when inactive | _any_ | `false` |
### Events
| Event | Description | Arguments |
|------|------|------|
| --- | --- | --- |
| change | triggered when the on-off state is changed | checked: switch is on or not |