본문으로 건너뛰기

TIMELINE_scale_date

정보

이 기능은 PRO 에디션에서만 사용할 수 있습니다.

Description

X축에 표시되는 항목을 정의합니다

TIMELINE_scale_date: (date: Date) => string;

Parameters

  • date - (required) Date - 포맷팅이 필요한 날짜

Returns

  • text - (string) - 스케줄러에 표시할 HTML 콘텐츠

Example

scheduler.templates.timeline_scale_date = function(date){
var timeline = scheduler.matrix.timeline;
var func = scheduler.date.date_to_str(timeline.x_date||scheduler.config.hour_date);
return func(date);
}

Applicable views: Timeline view

Details

노트

이 템플릿은 timeline 플러그인이 활성화되어 있어야 합니다.

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.