mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-24 02:20:36 +03:00
feat: add calendar-change event (#432)
This commit is contained in:
@@ -266,18 +266,19 @@ set fixed time list to select;
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Description | Callback Arguments |
|
||||
| ----------- | ------------------------------------ | -------------------------------------------- |
|
||||
| input | When the value change(v-model event) | date |
|
||||
| change | When the value change(same as input) | date, type(date, hour, minute, second, ampm) |
|
||||
| open | When panel opening | |
|
||||
| close | When panel closing | |
|
||||
| confirm | When click 'confirm' button | date |
|
||||
| clear | When click 'clear' button | |
|
||||
| input-error | When user type a invalid Date | the input text |
|
||||
| focus | When input focus | |
|
||||
| blur | When input blur | |
|
||||
| pick | when select date [#429](issues/429) | date |
|
||||
| Name | Description | Callback Arguments |
|
||||
| --------------- | ------------------------------------ | -------------------------------------------- |
|
||||
| input | When the value change(v-model event) | date |
|
||||
| change | When the value change(same as input) | date, type(date, hour, minute, second, ampm) |
|
||||
| open | When panel opening | |
|
||||
| close | When panel closing | |
|
||||
| confirm | When click 'confirm' button | date |
|
||||
| clear | When click 'clear' button | |
|
||||
| input-error | When user type a invalid Date | the input text |
|
||||
| focus | When input focus | |
|
||||
| blur | When input blur | |
|
||||
| pick | when select date [#429](issues/429) | date |
|
||||
| calendar-change | when change the calendar | date, oldDate |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user