case 1:
I am loading a very large HTML page containing many complex layouts and fonts. The page will take some unknown time to render.
case 2:
I am using the jquery.html () function to make significant changes to my DOM. The modified DOM will take some unknown time to render.
In both cases, I want to be able to cover the entire screen with a spinner until the page is fully rendered .
In search of answers to this question, I found similar questions, but the answers are not relevant. To be clear:
I do not want to know when the DOM is ready.
I do not want to know when the HTTP data was received.
I want to know when everything in the DOM was completely drawn on the screen .
Setting the worst timeout is not an acceptable solution.
I need a solution for webkit based browsers.
html jquery-ui webkit html-rendering
Groovydotcom
source share