event_bar_date
Description
Specifies the date of an event. Applied to one-day events only
event_bar_date: (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.event_bar_date = function(start,end,ev){
return "• <b>"+scheduler.templates.event_date(start)+"</b> ";
};
Applicable views: Month 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.