lightbox_header
Description
Specifies the lightbox's header
lightbox_header: (start: Date, end: Date, event: any) => string
Parameters
start- (required) Date - the date when an event is scheduled to beginend- (required) Date - the date when an event is scheduled to be completedevent- (required) object - the event object
Returns
text- (string) - html text for rendering in the scheduler
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
Note, if the lightbox_header template isn't specified, the date part of the header will be set according to the event_header template.
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.