Calendar
Calendar copied to clipboard
change month
there is no callback when i changed the month. and show me the month i selected
How do you configure ?
就是按<>箭头改变月份的时候没有回调啊
配置viewChange
。
$('#ca').calendar({
viewChange: function(view, y, m){
console.log(view, y, m);
}
})
- view: 当前视图,date OR month
- y: 年
- m: 月