跳转到主要内容

month_events_link

Description

控制月视图单元格内"查看更多"链接的显示方式

month_events_link: (date: Date, count: number) => string

Parameters

  • date - (required) Date - 对应月视图单元格的日期
  • count - (required) number - 该单元格中事件的总数

Returns

  • text - (string) - 要在scheduler中显示的html内容

Example

// 默认实现
scheduler.templates.month_events_link = function(date, count){
return "<a>View more("+count+" events)</a>";
};

Applicable views: Month view

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.