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 beginend- (required) Date - the date when an event is scheduled to be completedev- (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";
};
Related API
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.