728x90
피시에서는 달력이 가득차게 나오는데 모바일에서는 잘려서 스크롤해야 보이게끔 나온다.
contentHeight 속성을 사용하면 해결가능!
contentHeight:function(){
if(screen.width<800){
return 500;
}else{
return 850;
}
},

나머진 사이트에서 확인!
contentHeight - Docs | FullCalendar
Sets the height of the view area of the calendar. By default, this option is unset and the calendar’s height is calculated by aspectRatio. If an integer is specified, the height of the view will be guaranteed to be that exact pixel height. If the content
fullcalendar.io
'study > javascript' 카테고리의 다른 글
for in for of (for of IE지원 안함) (0) | 2021.10.28 |
---|---|
fullcalendar data ajax로 가져와 달력에 뿌리기 (0) | 2021.10.14 |
jquery,javascript select option 변경 (0) | 2021.10.13 |
jquery select2 change (0) | 2021.09.28 |
ECharts 그래프 별 색깔 다르게 (0) | 2021.09.23 |
댓글