본문으로 건너뛰기

event_bar_date

Description

이벤트의 날짜를 설정하는 데 사용됩니다. 이 기능은 단일 날짜에만 해당하는 이벤트에 적용됩니다.

event_bar_date: (start: Date, end: Date, event: any) => string

Parameters

  • start - (required) Date - 이벤트가 시작하는 날짜
  • end - (required) Date - 이벤트가 끝나는 날짜
  • event - (required) object - 이벤트 객체 자체

Returns

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

Example

scheduler.templates.event_bar_date = function(start,end,ev){
return "• <b>"+scheduler.templates.event_date(start)+"</b> ";
};

Applicable views: Month 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.