The loading state is the state when the window object was created, and all the necessary components, including the DOM, were loaded into memory but were not passed to the rendering engine to display the same on the page.
A ready state, on the other hand, ensures that DOM elements, events, and other dependent components are passed to the rendering engine, displayed on the page, and ready for interaction and manipulation.
asmitB Jul 25 '16 at 13:07 2016-07-25 13:07
source share