skip to Main Content

Jquery – Loader is not visible without timeout

I am using Ember JS for an application, I want to show the full loader before updating my DOM, like Ember.$("#full-loader").css("display","block"); someFuncToUpdateDOM(); Ember.$("#full-loader").css("display","none"); The full-loader is never shown, but when I use setTimeOut() on calling the someFuncToUpdateDOM(), now the full-loader…

VIEW QUESTION
Back To Top
Search