CalendarPanel组件
接受Calendar的所有属性接口,额外增加一个getValueCallback方法

主要属性接口:

属性

属性名类型说明默认值
direction String direction 可选值有 top | left | down | right

日历位置

auto 自动根据当前位置切换 上/下

事件

方法名说明回调参数
getValueCallback

通过传入此函数获取日期值

dateString

日期

示例展示: