javascript: "everything has finished drawing to the screen" event? -
is there javascript event can hook let me know when has finished drawing browser screen? images, backgrounds, , dom elements proper css.
i setting "loading..." divs should disappear when page perfect , ready shown user.
i aware of $(document).ready , onload, these not mean.
i using angularjs, dont think should matter.
thanks!
as may know, $(document).ready waits html structure , javascript load trigger.
you better use :
$(window).load(function(){ //do stuff here });
to wait in page load (even pictures)
Comments
Post a Comment