From 7e2a0489dcd077ae1cfdbc096af3fa0a6095747c Mon Sep 17 00:00:00 2001 From: mxie <15623530290@163.com> Date: Mon, 29 Oct 2018 11:35:11 +0800 Subject: [PATCH] docs: update readme --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5dc6a67..16810f8 100644 --- a/README.md +++ b/README.md @@ -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 |