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
+19 -19
View File
@@ -87,11 +87,11 @@ export default {
### Collapse Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Names of current active panels | `(string | number)[] `(non-accordion mode)<br>`string | number`(accordion mode) | - |
| accordion | Whether to be accordion mode | `boolean` | `false` |
| border | Whether to show outer border | `boolean` | `true` |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Names of current active panels | `(string | number)[] `(non-accordion mode)<br>`string | number`(accordion mode) | - | - |
| accordion | Whether to be accordion mode | `boolean` | `false` | - |
| border | Whether to show outer border | `boolean` | `true` | - |
### Collapse Events
@@ -101,20 +101,20 @@ export default {
### CollapseItem Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| name | Name | `string | number` | `index` |
| icon | Left Icon | `string` | - |
| size | Title sizecan be set to `large` | `string` | - |
| title | Title | `string | number` | - |
| value | Right text | `string | number` | - |
| label | Description below the title | `string` | - |
| border | Whether to show inner border | `boolean` | `true` |
| disabled | Whether to disabled collapse | `boolean` | `false` |
| is-link | Whether to show link icon | `boolean` | `true` |
| title-class | Title className | `string` | - |
| value-class | Value className | `string` | - |
| label-class | Label className | `string` | - |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| name | Name | `string | number` | `index` | - |
| icon | Left Icon | `string` | - | - |
| size | Title sizecan be set to `large` | `string` | - | - |
| title | Title | `string | number` | - | - |
| value | Right text | `string | number` | - | - |
| label | Description below the title | `string` | - | - |
| border | Whether to show inner border | `boolean` | `true` | - |
| disabled | Whether to disabled collapse | `boolean` | `false` | - |
| is-link | Whether to show link icon | `boolean` | `true` | - |
| title-class | Title className | `string` | - | - |
| value-class | Value className | `string` | - | - |
| label-class | Label className | `string` | - | - |
### CollapseItem Slots
+1 -1
View File
@@ -103,7 +103,7 @@ export default {
### CollapseItem Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|------|
|------|------|------|------|------|
| name | 唯一标识符,默认为索引值 | `string | number` | `index` | - |
| icon | 标题栏左侧图标名称或图片链接,可选值见 Icon 组件 | `string` | - | - |
| size | 标题栏大小,可选值为 `large` | `string` | - | - |