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";
};
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.