tooltip_text
Description
Specifies the text of tooltips
tooltip_text: (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.tooltip_text = function(start,end,ev){
return "<b>Event:</b> "+ev.text+"<br/><b>Start date:</b> " +
scheduler.templates.tooltip_date_format(start)+
"<br/><b>End date:</b> "+scheduler.templates.tooltip_date_format(end);
};
Applicable views: Agenda view, Day view, Map view, Month view, Week view, Week Agenda view, Units view
Details
note
The template requires the tooltip plugin to be enabled.
Related API
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.