跳转到主要内容

map_text

Description

定义视图第二列中显示的文本

map_text: (start: Date, end: Date, event: any) => string

Parameters

  • start - (required) Date - 事件开始的日期
  • end - (required) Date - 事件预计结束的日期
  • event - (required) object - 事件对象本身

Returns

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

Example

scheduler.templates.map_text = function(start,end,ev){
return ev.text;
};

Applicable views: Map view

Details

注释

该模板需要启用map_view插件。

请注意,如果未定义map_text模板,Google Maps弹出标记中显示的日期部分('d-m-y')将遵循day_date模板中的格式。

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.