tooltip_date_format
Description
Определяет, как отображаются даты начала и окончания в tooltip
tooltip_date_format: (date: Date) => string
Parameters
date- (required) Date - дата, которую необходимо отформатировать
Returns
text- (string) - html текст для отображения в scheduler
Example
scheduler.templates.tooltip_date_format=function (date){
var formatFunc = scheduler.date.date_to_str("%Y-%m-%d %H:%i");
return formatFunc(date);
}
Details
примечание
Шаблон работает только если активирован плагин tooltip.
Related API
Related Guides
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.