year_tooltip
Description
定义显示在有计划事件的日期单元格上的tooltip
year_tooltip: (start: Date, end: Date, event: any) => string
Parameters
start- (required) Date - 事件开始的日期end- (required) Date - 事件结束的日期event- (required) object - 事件对象
Returns
text- (string) - 在scheduler tooltip中显示的HTML内容
Example
scheduler.templates.year_tooltip = function(start,end,ev){
return ev.text;
};
Applicable views: Year view
Details
注释
该模板仅在启用了year_view插件时有效。
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.