Skip to main content

calendar_month

Description

Specifies the date in the header of the Mini-Calendar (date picker)

calendar_month: (date: Date) => string

Parameters

  • date - (required) Date - the first day of a selected month

Returns

  • text - (string) - inner html of the month label element

Example

const monthLabel = scheduler.date.date_to_str("%F %Y");
scheduler.templates.calendar_month = function (date) {
return monthLabel(date);
};

Details

note

The template requires the minical plugin to be activated.

mini_calendar_templates

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.