event_header
Description
이벤트의 헤더 내용을 정의합니다.
event_header: (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_header = function(start,end,ev){
return scheduler.templates.event_date(start)+" - "+
scheduler.templates.event_date(end);
};
Applicable views: Day view, Week view, Units view
Related Guides
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.