docs: remove all v2 version tag
This commit is contained in:
@@ -283,11 +283,11 @@ export default {
|
||||
| cancel-button-text | Text of cancel button | _string_ | `Cancel` |
|
||||
| show-toolbar | Whether to show toolbar | _boolean_ | `true` |
|
||||
| loading | Whether to show loading prompt | _boolean_ | `false` |
|
||||
| readonly `v2.10.5` | Whether to be readonly | _boolean_ | `false` |
|
||||
| readonly | Whether to be readonly | _boolean_ | `false` |
|
||||
| filter | Option filter | _(type, vals) => vals_ | - |
|
||||
| formatter | Option text formatter | _(type, val) => val_ | - |
|
||||
| columns-order `v2.9.2` | Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute` | _string[]_ | - |
|
||||
| item-height `v2.8.6` | Option height, supports `px` `vw` `vh` `rem` unit, default `px` | _number \| string_ | `44` |
|
||||
| columns-order | Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute` | _string[]_ | - |
|
||||
| item-height | Option height, supports `px` `vw` `vh` `rem` unit, default `px` | _number \| string_ | `44` |
|
||||
| visible-item-count | Count of visible columns | _number \| string_ | `6` |
|
||||
| swipe-duration | Duration of the momentum animation,unit `ms` | _number \| string_ | `1000` |
|
||||
|
||||
@@ -321,20 +321,20 @@ Following props are supported when the type is time
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description | SlotProps |
|
||||
| --- | --- | --- |
|
||||
| default `v2.11.1` | Custom toolbar content | - |
|
||||
| title `v2.11.1` | Custom title | - |
|
||||
| confirm `v2.11.1` | Custom confirm button text | - |
|
||||
| cancel `v2.11.1` | Custom cancel button text | - |
|
||||
| option `v2.11.1` | Custom option content | _option: string \| object_ |
|
||||
| columns-top `v2.11.1` | Custom content above columns | - |
|
||||
| columns-bottom `v2.11.1` | Custom content below columns | - |
|
||||
| Name | Description | SlotProps |
|
||||
| -------------- | ---------------------------- | -------------------------- |
|
||||
| default | Custom toolbar content | - |
|
||||
| title | Custom title | - |
|
||||
| confirm | Custom confirm button text | - |
|
||||
| cancel | Custom cancel button text | - |
|
||||
| option | Custom option content | _option: string \| object_ |
|
||||
| columns-top | Custom content above columns | - |
|
||||
| columns-bottom | Custom content below columns | - |
|
||||
|
||||
### Methods
|
||||
|
||||
Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get DatetimePicker instance and call instance methods.
|
||||
|
||||
| Name | Description | Attribute | Return value |
|
||||
| ------------------ | ------------------- | --------- | ------------ |
|
||||
| getPicker `v2.5.3` | get Picker instance | - | - |
|
||||
| Name | Description | Attribute | Return value |
|
||||
| --------- | ------------------- | --------- | ------------ |
|
||||
| getPicker | get Picker instance | - | - |
|
||||
|
||||
Reference in New Issue
Block a user