본문으로 건너뛰기

TIMELINE_row_class

정보

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

Description

타임라인 뷰에서 행에 할당될 CSS 클래스를 정의합니다.

TIMELINE_row_class: (section: object, timeline: object) => string;

Parameters

  • section - (required) object - 섹션 객체
  • timeline - (required) object - 타임라인 객체

Returns

  • css_class - (string) - 해당 요소에 적용할 CSS 클래스

Example

scheduler.templates.timeline_row_class = function(section, timeline){
return "";
};

Applicable views: Timeline view

Details

노트

이 템플릿을 사용하려면 timeline 플러그인이 활성화되어 있어야 합니다.

기본 구현 예시는 다음과 같습니다:

scheduler.templates.TIMELINE_row_class = function(section, timeline){
if(timeline.folder_events_available && section.children){
return "folder";
}
return "";
};

Change log

  • v5.3.9에 추가됨
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.