Reputation: 19828
I'm trying to create function which will invoke after every part of the document is loaded and applied.
So: are all css applied in document.load
? Does document.load
invoke if some resources will have 404 error?
Upvotes: 0
Views: 73
Reputation: 944035
The load event will fire after the entire, initial document (including dependancies), as described by the HTML (and CSS) source, has loaded.
Content added to the DOM with JavaScript may not finish loading until after the load event had fired.
Upvotes: 1