event_duration
Description
设置事件的初始持续时间(以分钟为单位)
event_duration: number
Example
scheduler.config.event_duration = 60;
scheduler.config.auto_end_date = true;
...
scheduler.init('scheduler_here', new Date(2013, 05, 11), "week");
Default value: 5
Related samples
Details
- 该参数自版本 2.3 起可用。
- 仅在启用 auto_end_date 选项时生效。
- 当 auto_end_date 选项被启用(设置为 true)时,在 lightbox 中调整事件的开始时间或日期,会自动更新结束时间和日期,以保持由 'event_duration' 设置指定的持续时间。
Related API
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.