mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-02 01:04:07 +03:00
docs: update readme
This commit is contained in:
@@ -151,20 +151,18 @@ export default {
|
||||
|
||||
|
||||
### Events
|
||||
| Name | Description | Callback Arguments |
|
||||
|-----------------|------------------------------|------------------------|
|
||||
| change | When the value change | the currentValue |
|
||||
| input | When the value change | the currentValue |
|
||||
| confirm | When click 'OK' button | the currentValue |
|
||||
| clear | When click 'clear' button | |
|
||||
| input-error | When user type a invalid Date| the input text |
|
||||
| panel-change | When change the panel | panel, oldPanel |
|
||||
| Name | Description | Callback Arguments |
|
||||
|-----------------|--------------------------------------------------------|------------------------|
|
||||
| input | When the value change(v-model event) | the currentValue |
|
||||
| change | When the value change(same as input) | the currentValue |
|
||||
| confirm | When click 'confirm' button | the currentValue |
|
||||
| clear | When click 'clear' button | |
|
||||
| input-error | When user type a invalid Date | the input text |
|
||||
| panel-change | When change the panel view(eg: from year to month view)| panel, oldPanel |
|
||||
|
||||
#### panel value
|
||||
`['NONE', 'DATE', 'YEAR', 'MONTH', 'TIME']`
|
||||
|
||||
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|
||||
Reference in New Issue
Block a user