mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 20:04:09 +00:00
[Improvement] DatetimePicker: support all picker props (#788)
This commit is contained in:
@@ -132,11 +132,11 @@ When Picker columns data is acquired asynchronously, use `loading` prop to show
|
||||
| show-toolbar | Whether to show toolbar | `Boolean` | `false` | - |
|
||||
| title | Toolbar title | `String` | `''` | - |
|
||||
| loading | Whether to show loading prompt | `Boolean` | `false` | - |
|
||||
| value-key | Key of option text | `String` | `text` | - |
|
||||
| item-height | Option height | `Number` | `44` | - |
|
||||
| confirm-button-text | Text of confirm button | `String` | `Confirm` | - |
|
||||
| cancel-button-text | Text of cancel button | `String` | `Cancel` | - |
|
||||
| item-height | Option height | `Number` | `44` | - |
|
||||
| visible-item-count | Count of visible columns | `Number` | `5` | - |
|
||||
| value-key | Key of option text | `String` | `text` | - |
|
||||
|
||||
### Event
|
||||
Picker events will pass different parameters according to the columns are single or multiple
|
||||
|
Reference in New Issue
Block a user