docs: type highlight (#4264)
This commit is contained in:
@@ -149,21 +149,21 @@ export 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user