跳转到主要内容

drag_marker_content

Description

定义时间刻度上高亮块中显示的内容

drag_marker_content: (start: Date, end: Date, ev: any) => string

Parameters

  • start - (required) Date - 事件开始的日期
  • end - (required) Date - 事件预计结束的日期
  • ev - (required) object - 事件对象

Returns

  • text - (string) - 在scheduler中显示的HTML内容

Example

scheduler.templates.drag_marker_content = function(start, end, event){
return "";
};

Details

例如:

scheduler.templates.drag_marker_content = function(start, end, event){
return "<b>my text</b>";
};

scale_content

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.