Q: I am having a loader that I want it to be removed just after the tables and query are fully loaded. How can I do this?
A: You must bind to the core.Events.SyncFinished event and unbind from it after it gets fired:
$(function () { var core = AQB.Web.Core; core.on(core.Events.SyncFinished, firstSyncHandler); function firstSyncHandler() { // do awesome actions core.removeListener(core.Events.SyncFinished, firstSyncHandler); } });
Comments
0 comments
Please sign in to leave a comment.