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

drag_marker_content

Description

Определяет содержимое, отображаемое в выделенном блоке на временной шкале

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

Parameters

  • start - (required) Date - дата начала события
  • end - (required) Date - дата предполагаемого окончания события
  • ev - (required) object - объект события

Returns

  • text - (string) - HTML-содержимое, которое будет отображено в scheduler

Example

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

Details

Например:

scheduler.templates.drag_marker_content = function(start, end, event){
return "<b>my text</b>";
};

scale_content

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.