본문으로 건너뛰기

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.