跳转到主要内容

calendar_month

Description

设置迷你日历头部(日期选择器)中显示的日期

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.