templates

defines formatting of the templates for dates, titles and tooltips in the scheduler

object templates;

Example

//specifies the date in the header of the Day and Units views
scheduler.templates.day_date = function(date){
    return scheduler.date.date_to_str(scheduler.config.default_date);
};

Details

The properties of the templates object are described in a separate chapter of
the root API page 'Scheduler API: Templates'.

Back to top