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 = (start, end, event) => {
return event.text;
};
Applicable views: 月视图模板, 时间线视图模板
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.