跳转到主要内容

map_date

Description

设置视图头部显示的日期

map_date: (start: Date, end: Date) => string

Parameters

  • start - (required) Date - 视图的开始日期
  • end - (required) Date - 视图的结束日期

Returns

  • text - (string) - 用于在scheduler中渲染的html文本

Example

//默认定义
scheduler.templates.map_date = function(start, end) {
return '';
};

Applicable views: Map view

Details

注释

该template仅在启用map_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.