Zum Hauptinhalt springen

calendar_scale_date

Description

Legt das Format für die Wochentagsbeschriftungen im Mini-Calendar-Header (Datumsauswahl) fest

calendar_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - Das spezifische Datum, das einen Wochentag für die Header-Zelle repräsentiert

Returns

  • text - (string) - Der innere HTML-Inhalt für die Header-Zelle

Example

const weekDayLabel = scheduler.date.date_to_str("%D");
scheduler.templates.calendar_scale_date = function (date) {
// M | T | W | T | F | S | S
return weekDayLabel(date).substr(0, 1);
};

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.