updateCalendar
Description
在迷你 calendar 中显示所选日期
updateCalendar: (calendar: any, new_date: Date) => void
Parameters
calendar- (required) object - 迷你 calendar 实例new_date- (required) Date - 要在迷你 calendar 中显示的日期
Example
var calendar = scheduler.renderCalendar({
container:"cal_here",
navigation:true,
handler:function(date){
scheduler.setCurrentView(date, scheduler._mode);
}
});
...
scheduler.updateCalendar(calendar, new Date(2013,01,01));
Details
注释
该方法需要激活 minical 插件。
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.