본문으로 건너뛰기

calendar_scale_date

Description

Mini-Calendar 헤더(날짜 선택기)의 요일 레이블 형식을 설정합니다.

calendar_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - 헤더 셀의 요일을 나타내는 특정 날짜

Returns

  • text - (string) - 헤더 셀의 내부 HTML 콘텐츠

Example

const weekDayLabel = scheduler.date.date_to_str("%D");
scheduler.templates.calendar_scale_date = function (date) {
// M | T | W | T | F | S | S
return weekDayLabel(date).substr(0, 1);
};

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.