跳转到主要内容

drag_marker_class

Description

定义应用于时间刻度上事件高亮持续时间的CSS类

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

Parameters

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

Returns

  • classname - (string) - 分配给元素的css类名

Example

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

Details

例如:

.myclass{
background: green;
}
scheduler.templates.drag_marker_class = function(start, end, event){
return "myclass";
};

highlight_scale

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.