Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 309 Bytes

documentVsDOMLoadEvent.md

File metadata and controls

3 lines (2 loc) · 309 Bytes

Difference between document load event and document DOMContentLoaded event?

The DOMContentLoaded event is fired when the document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading. The load event can be used to detect a fully-loaded page.