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