본문으로 건너뛰기

hour_scale

Description

Y-축에 표시되는 요소를 정의합니다.

hour_scale: (date: Date) => string

Parameters

  • date - (required) Date - 포맷할 날짜

Returns

  • text - (string) - 스케줄러에 표시할 때 사용되는 HTML 텍스트

Example

scheduler.templates.hour_scale = function(date){
return scheduler.date.date_to_str(scheduler.config.hour_date)(date);
};

Applicable views: Day view, Week view, Units view

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.