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

event_bar_date

Description

Используется для установки даты события. Применяется только к событиям, которые длятся один день

event_bar_date: (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_date = function(start,end,ev){
return "• <b>"+scheduler.templates.event_date(start)+"</b> ";
};

Applicable views: Month 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.