agenda_time

定义在Agenda视图第一列中显示的日期

startDate事件的开始日期
endDate事件的结束日期
eventobject事件数据

Example

const templates = scheduler.templates;
scheduler.templates.agenda_time = function(start, end, event){
  if (scheduler.isOneDayEvent(event)) {
    return templates.day_date(event) + " " + templates.event_date(start);
  } else {
    return templates.day_date(start) + " – " + 
        templates.day_date(end);
  }
};

Applicable views:议程视图
Details

该模板仅在启用agenda_view插件时生效。

See also
返回顶部