Calls the specified function when all page scripts are loaded and processed. So it's processed after window.onLoad event, but before whenReady() event. If called after this event, the callback function is executed immediately.
whenLoaded
Callback function to be executed when ready.
Calls the specified function when all page scripts are loaded and processed. So it's processed after window.onLoad event, but before whenReady() event.
If called after this event, the callback function is executed immediately.
Method
whenLoaded