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

updateCalendar

Description​

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

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

Parameters​

  • calendar - (required) object - объект мини-календаря
  • new_date - (required) Date - новая дата для отображения в мини-календаре

Example​

const calendar = scheduler.renderCalendar({
container:"cal_here",
navigation:true,
handler:function(date){
scheduler.setCurrentView(date, scheduler._mode);
}
});
...
scheduler.updateCalendar(calendar, new Date(2027,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.