Перейти к основному содержимому

updateCalendar

Description

Отображает выбранную дату в мини-календаре

updateCalendar: (calendar: any, new_date: Date) => void

Parameters

  • calendar - (required) object - экземпляр мини-календаря
  • new_date - (required) Date - дата, которая будет показана в мини-календаре

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.