📜  如何调整日历高度 fullcalendar - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:12.102000             🧑  作者: Mango

代码示例1
//Refer-doc:https://fullcalendar.io/docs/contentHeight
var calendar = new FullCalendar.Calendar(calendarEl, {
  contentHeight: 600
});
//or

var calendar = new FullCalendar.Calendar(calendarEl, {
  contentHeight: "auto"
});

//You can dynamically set a calendar’s contentHeight after initialization:

calendar.setOption('contentHeight', 650);