Skip to main content

drag_marker_class

Description

Specifies the CSS class that will be applied to the highlighted event's duration on the time scale

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

Parameters

  • start - (required) Date - the date when an event is scheduled to begin
  • end - (required) Date - the date when an event is scheduled to be completed
  • ev - (required) object - the event's object

Returns

  • classname - (string) - css class for related element

Example

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

Details

For example:

.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.