Only month view in fullcalendar (remove/Hide “Day” and “Weeks” view)

前端 未结 2 1372
旧时难觅i
旧时难觅i 2021-02-20 10:09

My fullcalendar has - \"Month|Week|Day\" view , I want to remove or hide the \"Week\" and \"Day\" views as we have been using only \"Month\" View.

Can you please tell me

2条回答
  •  隐瞒了意图╮
    2021-02-20 10:33

    right : false is working.

     $('#calendar').fullCalendar({
                header: {
                    left: 'prev,next ',
                    center: 'title',
                    right: false,
                },
    
        });
    

提交回复
热议问题