我的全日历有 - “月|周|日”视图,我想删除或隐藏“周”和“日”视图,因为我们只使用“月”视图。
你能告诉我该怎么做吗?
当您启动 fullcalendar 时,不要包含agendyDay 和agendaWeek。就像是
$('#calendar').fullCalendar({
header: {
left: 'prev,next',
center: 'title',
right: 'month'
}
});
更新:
要去掉月份按钮:
$('#calendar').fullCalendar({
header: {
left: 'prev,next',
center: 'title',
right: ''
}
});
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)