mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-09 22:58:03 +08:00
docs(components): [date-time-picker] perfect type (#9528)
This commit is contained in:
parent
a8a556d0ea
commit
f21f1e2ee1
@ -84,8 +84,8 @@ datetime-picker/default-time
|
||||
| prefix-icon | Custom prefix icon component | `string \| Component` | — | Date |
|
||||
| clear-icon | Custom clear icon component | `string \| Component` | — | CircleClose |
|
||||
| shortcuts | an object array to set shortcut options | object[{ text: string, value: date / function }] | — | — |
|
||||
| disabledDate | a function determining if a date is disabled with that date as its parameter. Should return a Boolean | function | — | — |
|
||||
| cellClassName | set custom className | Function(Date) | — | — |
|
||||
| disabled-date | a function determining if a date is disabled with that date as its parameter. Should return a Boolean | function(Date) | — | — |
|
||||
| cell-class-name | set custom className | Function(Date) | — | — |
|
||||
| teleported | whether datetime-picker dropdown is teleported to the body | boolean | true / false | true |
|
||||
|
||||
## Events
|
||||
|
Loading…
Reference in New Issue
Block a user