Skip to main content

quick_info_date

Description

Specifies the date of the pop-up edit form

quick_info_date: (start: Date, end: Date, event: any) => string

Parameters

  • start - (required) Date - the date when an event is scheduled to begin
  • end - (required) Date - the date when an event is scheduled to be completed
  • event - (required) object - the event object

Returns

  • text - (string) - html text for rendering in the scheduler

Example

scheduler.templates.quick_info_date = function(start, end, ev){
if (scheduler.isOneDayEvent(ev)){
return scheduler.templates.day_date(start, end, ev) + " " +
scheduler.templates.event_header(start, end, ev);
}else{
return scheduler.templates.week_date(start, end, ev);
}
};

Details

note

The template requires the quick_info plugin to be activated.

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.