跳转到主要内容

quick_info_title

Description

设置弹出编辑表单的标题

quick_info_title: (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.quick_info_title = function(start, end, ev){ 
return ev.text.substr(0,50);
};

Details

注释

该template仅在启用quick_info插件时才有效。

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.