【发布时间】:2014-11-12 08:16:23
【问题描述】:
使用 fullcalendar 我需要根据其他条件更改 slotDuration 参数,而无需重新加载页面:
在一种情况下我会这样做
$('#calendar').fullCalendar('option', 'slotDuration', '00:15:00');
其他情况
$('#calendar').fullCalendar('option', 'slotDuration', '00:30:00');
但看起来它不起作用,因为我总是看到带有 slotDuration=30(2 个插槽)分钟的 fullcalendar,因为它在初始化时被调用。
如果有办法呢?
【问题讨论】: