CroudTech / vue-fullcalendar

FullCalendar Wrapper for vue
MIT License
483 stars 100 forks source link

Loading event not triggered #187

Open Ramfat opened 5 years ago

Ramfat commented 5 years ago

Hi.

I've tried setting a loading function through the config object but it seems it is not fired as i cannot even see a log in my console when loading new events.

Example code:

config: { loading: function () { console.log('Loading!'); }, weekends: true, locale: 'sv', defaultView: 'listWeek', header: { left: "prev,next,today", center: "", right: "title" }, },

PhilMDev commented 5 years ago

Are you loading events as a function? (https://fullcalendar.io/docs/events-function) I believe that may be the only way your loading event will fire.