我正在使用angular fullcalendar
并且我想禁用插槽,这意味着在每个间隔中,我只获得一个插槽,所以我设置:
("#calendar").fullcalendar({
...
slotDuration: "00:90:01",
slotLabelInterval:'00:90:00'
...
});
但是,这不能正确显示日历。
如果我从slotDuration
选项中删除fullcalendar
,我会得到这个结果,这不是我想要的,因为插槽仍在那里。
答案 0 :(得分:0)
我对你的问题有点不确定,但如果你想在议程视图中只有一个插槽。即24小时。你可以这样做。删除插槽持续时间并使用以下内容:
("#calendar").fullcalendar({
...
slotLabelInterval:'24:00:00'
...
});
让我知道它是如何运作的。