lightbox_header
Description
Lightbox의 헤더 섹션을 정의합니다
lightbox_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.lightbox_header = function(start,end,ev){
return scheduler.templates.event_header(ev.start_date,ev.end_date,ev)
+ scheduler.templates.event_bar_text(ev.start_date,ev.end_date,ev);
};
Details
lightbox_header 템플릿이 정의되지 않은 경우, 헤더의 날짜 부분은 event_header 템플릿에 지정된 형식을 기본으로 사용합니다.
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.