TIMELINE_tooltip
信息
此功能仅在 PRO 版本中可用。
Description
提供包含已安排事件的日期单元格的tooltip文本
TIMELINE_tooltip: (start: Date, end; date, event: object) => string;
Parameters
start- (required) Date - 事件开始的日期end- (required) Date - 事件结束的日 期event- (required) object - 事件对象
Returns
text- (string) - 用于在scheduler tooltip中显示的html内容
Example
scheduler.templates.timeline_tooltip = function(start,end,event){
return event.text;
};
Applicable views: Timeline view
Details
注释
该模板仅在启用timeline插件时有效。
Related Guides
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.