跳转到主要内容

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 插件。

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.