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

marker_date

warning

Эта функицональность устарела

Description

Устанавливает дату для события, отображаемого в всплывающей подсказке (tooltip) маркера на Google Maps

Parameters

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

Returns

  • text - (string) - html-контент для отображения в scheduler

Example

scheduler.templates.marker_date = function(date){
return scheduler.date.date_to_str("%Y-%m-%d %H:%i");
};

Applicable views: Map view

Details

примечание

Этот шаблон работает только если включён плагин map_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.