跳转到主要内容

week_date_class

Description

定义分配给某一天单元格的CSS类

week_date_class: (start: Date, today: Date) => string

Parameters

  • start - (required) Date - 列的起始日期
  • today - (required) Date - 当前日期

Returns

  • css_class - (string) - 对应元素的css类

Example

scheduler.templates.week_date_class = function(start, today){
return "";
};

Applicable views: 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.