지정된 날짜에서 CSS 클래스를 제거합니다.
calendar | object | 미니 캘린더 객체 |
date | Date | 제거할 날짜 |
css | string | 제거할 CSS 클래스 이름 |
// 캘린더 객체를 얻는 두 가지 방법이 있습니다:
// 미니 캘린더를 생성하여 얻기
var calendar = scheduler.renderCalendar({
container:"cal_here",
navigation:true,
handler:function(date){
scheduler.setCurrentView(date, scheduler._mode);
}
});
// 또는 미니 캘린더가 포함된 컨테이너를 선택하여 얻기
var calendar = document.querySelector(".dhx_mini_calendar");
scheduler.markCalendar(calendar, new Date(2010,3,1), "my_style");
...
scheduler.unmarkCalendar(calendar, new Date(2010,3,1), "my_style");
이 메서드는 minical 플러그인이 활성화되어 있어야 합니다.
이 메서드는 scheduler 자체가 아니라 미니 캘린더에서만 작동한다는 점을 유의하세요.