FullCalendar beforeLoad and afterLoad callbacks

Are there any callbacks in FullCalendar that run before the calendar loads or after the calendar loads completely? Thanks for the help!

+8
fullcalendar
source share
2 answers
loading: function (bool) { if (bool) $('#loadingImg').show(); else $('#loadingImg').hide(); //Possibly call you feed loader to add the next feed in line }, 

If any event or selection for ALL sources occurs, it will be TRUE , otherwise it will start and go to FALSE

There is no other way to determine if a particular channel is loaded or loaded.

You will need to implement your own logic using loading

where would you use

 $('#calendar').fullCalendar('addEventSource', 'diaryFeed.aspx?style=Basic'); 

wait for the download to complete and click to add the next source .. etc.

+12
source share

There are several options you can use,

loading can be used to trigger events during loading and after loading. Additional information

or you can use eventRender and eventAfterRender to fire before each event and after each event.

Hope this helps!

+4
source share

All Articles