跳转到主要内容

marker_text

警告

此功能已棄用。

Description

提供在 Google Maps 弹出标记中显示的事件文本

Parameters

  • start - (required) Date - 事件开始的日期
  • end - (required) Date - 事件结束的日期
  • event - (required) object - 事件详情

Returns

  • text - (string) - 计划器中显示的 html 内容

Example

scheduler.templates.marker_text = function(start,end,ev){
return "<div><b>" + ev.text + "</b><br/><br/>" + (ev.event_location || '') +
"<br/><br/>" + scheduler.templates.marker_date(start) + " - " +
scheduler.templates.marker_date(end) + "</div>";
};

Applicable views: Map view

Details

注释

该模板仅在启用 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.