Перейти к основному содержимому

calendar_month

Description​

Задаёт дату, отображаемую в заголовке Мини-Календаря (date picker)

calendar_month: (date: Date) => string

Parameters​

  • date - (required) Date - первый день выбранного месяца

Returns​

  • text - (string) - внутреннее html-содержимое для элемента с названием месяца

Example​

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

Details​

примечание

Этот шаблон работает только при включённом плагине minical.

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.