Перейти к основному содержимому

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.