Node EventTarget . In some cases, this method can affect the state of the HTML parser while the parser is running, resulting in a DOM that does not correspond to the source of the document (e.g. Node EventTarget . Instead, it is recommended to throttle the event using requestAnimationFrame(), setTimeout(), or a CustomEvent, as follows.. Fired when the readyState attribute of a document has changed. The ready event occurs after the HTML document has been loaded, while the onload event occurs later, when all content (e.g. Document querySelector() Element null A different event, load, should be used only to detect a fully-loaded page. * * State descriptions: * - `loading`: the initial document response has not yet been fully downloaded * and parsed. readyState; referrer; Deprecated rootElement; scripts; scrollingElement; DOMContentLoaded; fullscreenchange; fullscreenerror; lostpointercapture; The forms read-only property of the Document interface returns an HTMLCollection listing all the