I have an app that uses Fullcalendar v6 and it is working. I would like to have a “glass panel” pop up whenever FC starts loading events and after the events are completely rendered.
When I add or cancel events (after the related ajax calls finish) I call refetchEvents()
. The events: function(info, successCallback, failureCallback)
method is triggered and I use that to get the updated list of events from storage. These are passed to the successCallback()
. At some point after that the eventSourceSuccess: function(view)
method is called.
I turn on a glass paned just before refetchEvents()
and turn it off in eventSourceSuccess
(or …Failure). However, in most cases, events are still being rendered to the display after the glass panel is gone. Sometimes many seconds after.
Are there other events I should be capturing to tell me when ALL event renders are finished?