event_bar_text
Description
设置多天事件上显示的文本。
event_bar_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.event_bar_text = function(start,end,event){
return event.text;
};
Applicable views: Month view, Timeline 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.