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
+16 -16
View File
@@ -147,23 +147,23 @@ export default {
### Props
| Attribute | Description | Type | Default |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| type | Can be set to `date` `time`<br> `year-month` | `string` | `datetime` |
| min-date | Min date | `Date` | Ten years ago on January 1 |
| max-date | Max date | `Date` | Ten years later on December 31 |
| min-hour | Min hour for `time` type | `number` | `0` |
| max-hour | Max hour for `time` type | `number` | `23` |
| min-minute | Max minute for `time` type | `number` | `0` |
| max-minute | Max minute for `time` type | `number` | `59` |
| filter | Option filter | `(type, values) => values` | - |
| formatter | Option text formatter | `(type, value) => value` | - |
| title | Toolbar title | `string` | `''` |
| loading | Whether to show loading prompt | `boolean` | `false` |
| item-height | Option height | `number` | `44` |
| confirm-button-text | Text of confirm button | `string` | `Confirm` |
| cancel-button-text | Text of cancel button | `string` | `Cancel` |
| visible-item-count | Count of visible columns | `number` | `5` |
| type | Can be set to `date` `time`<br> `year-month` | `string` | `datetime` | - |
| min-date | Min date | `Date` | Ten years ago on January 1 | - |
| max-date | Max date | `Date` | Ten years later on December 31 | - |
| min-hour | Min hour for `time` type | `number` | `0` | - |
| max-hour | Max hour for `time` type | `number` | `23` | - |
| min-minute | Max minute for `time` type | `number` | `0` | - |
| max-minute | Max minute for `time` type | `number` | `59` | - |
| filter | Option filter | `(type, values) => values` | - | - |
| formatter | Option text formatter | `(type, value) => value` | - | - |
| title | Toolbar title | `string` | `''` | - |
| loading | Whether to show loading prompt | `boolean` | `false` | - |
| item-height | Option height | `number` | `44` | - |
| confirm-button-text | Text of confirm button | `string` | `Confirm` | - |
| cancel-button-text | Text of cancel button | `string` | `Cancel` | - |
| visible-item-count | Count of visible columns | `number` | `5` | - |
### Events