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

year_tooltip

Description

Определяет tooltip, который отображается над ячейкой дня с запланированным событием(ями)

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

Parameters

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

Returns

  • text - (string) - html-содержимое для отображения в tooltip планировщика

Example

scheduler.templates.year_tooltip = function(start,end,ev){
return ev.text;
};

Applicable views: Year view

Details

примечание

Этот template работает только если плагин year_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.