跳转到主要内容

time_step

Description

设置事件时间值的最小增量(以分钟为单位)

time_step: number

Example

scheduler.config.time_step = 15;
...
scheduler.init('scheduler_here',new Date(2013,05,11),"week");

Default value: 5

Applicable views: Day view, Week view, Month view, Units view

Details

  • 事件的开始和结束时间将对齐到 time_step 的倍数。例如,当 time_step = 20 时,事件只能在 0、20、40 分钟等时间点开始。
  • lightbox 中的时间选择器也将遵循相同的 time_step,这同样适用于 Timeline 视图。
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.