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

map_text

Description

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

map_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.map_text = function(start,end,ev){
return ev.text;
};

Applicable views: Map view

Details

примечание

Для работы шаблона требуется включение плагина map_view.

Обратите внимание, что если шаблон map_text не определён, дата ('d-m-y'), отображаемая в popup-маркере Google Maps, будет форматироваться согласно шаблону day_date.

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.