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

event_bar_text

Description

Задаёт текст, отображаемый на событиях, охватывающих несколько дней.

event_bar_text: (start: Date, end: Date, event: any) => string

Parameters

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

Returns

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

Example

scheduler.templates.event_bar_text = function(start,end,event){
return event.text;
};

Applicable views: Month view, Timeline view

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.