Calendar 日历
使用范例
更多例子请参考Demo
API
参数 | 说明 | 类型 | 默认值 |
type | 选择类型, |
|
|
title | 日历标题 |
|
|
color | 颜色,对底部按钮和选中日期生效 |
|
|
minDate | 最小日期 |
| - |
maxDate | 最大日期 |
| - |
defaultDate | 默认选中的日期 |
| - |
rowHeight | 日期行高 |
| - |
poppable | 是否以弹层的形式展示日历 |
|
|
round | 是否显示圆角弹窗 |
|
|
showMark | 是否显示月份背景水印 |
|
|
showConfirm | 是否展示确认按钮 |
|
|
closeOnClickOverlay | 是否在点击遮罩层后关闭 |
|
|
confirmText | 确认按钮的文字 |
|
|
height | 日程高度,当 |
|
|
onSelect | 点击任意日期时触发 |
| - |
onConfirm | 日期选择完成后触发,若 |
| - |
Demo截图
Last updated