Zum Hauptinhalt springen

calendar_month

Description

Legt das im Mini-Calendar-Header (Date Picker) angezeigte Datum fest.

calendar_month: (date: Date) => string

Parameters

  • date - (required) Date - der erste Tag des ausgewählten Monats

Returns

  • text - (string) - der HTML-Inhalt für das Monatsetikett-Element

Example

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

Details

Hinweis

Diese Vorlage funktioniert nur, wenn das minical Plugin aktiviert ist.

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.