lilinzhen
Version:
## Project setup ``` yarn install ```
23 lines (15 loc) • 474 B
Markdown
# zy-datepick-cutfo
## 安装
```
npm i zy-datepick-cutfo
```
### API与事件
```
API
value(v-model) 日期 moment
showToday 是否展示今天按钮
scopeArray 页脚内容 ["3天", "1月", "1季度", "1年", "1月", "2季度", "10年"]
showExtraFooter 是否展示页脚内容
事件
change 时间发生变化的回调 function(date: moment | string, dateString: string)
scopeChange 页脚选择的回调 function(date: moment | string, dateString: string)