跳转到主要内容

time_slot_text

Description

定义 Day/Week 视图中背景单元格内显示的内容

time_slot_text: () => void

Example

scheduler.templates.time_slot_text=function(date){
if(date.getHours() >= 12 && date.getHours() < 13){
return "Lunch break";
}
};

Details

time_slot_template

在 Day/Week 视图中,背景被划分为30分钟的时间段。此模板允许您设置在日历中每个时间块内显示的 HTML 内容。

Change log

  • added in v7.0
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.