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

hour_scale

Description​

Определяет элементы, отображаемые на оси Y

hour_scale: (date: Date) => string

Parameters​

  • date - (required) Date - дата для форматирования

Returns​

  • text - (string) - html текст, используемый для отображения в scheduler

Example​

scheduler.templates.hour_scale = function(date){
return scheduler.date.date_to_str(scheduler.config.hour_date)(date);
};

Доступные представления: Day view, Week view, Units 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.