본문으로 건너뛰기

calendar_month

Description

미니 캘린더 헤더(날짜 선택기)에 표시할 날짜를 설정합니다.

calendar_month: (date: Date) => string

Parameters

  • date - (required) Date - 선택한 월의 첫 번째 날짜

Returns

  • text - (string) - 월 레이블 요소의 내부 html 내용

Example

const monthLabel = scheduler.date.date_to_str("%F %Y");
scheduler.templates.calendar_month = function (date) {
return monthLabel(date);
};

Details

노트

이 템플릿은 minical 플러그인이 활성화된 경우에만 작동합니다.

mini_calendar_templates

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.