How to get view object of Fullcalendar in Vue.js app

1.2k Views Asked by At

My idea is to change the selectable prop based on which full calendar view is displayed(month, week, day). In order to have this information, I have to get a calendar view object which contains property type. I tried everything from their documentation (https://fullcalendar.io/docs/v4/Calendar-view) and I still can't achieve this.

1

There are 1 best solutions below

1
On

From ratkov_a's comment:

this.$refs.calendar.getApi().view