DOMContentLoaded
和 load
事件有什么区别?
最佳答案
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).
关于javascript - DOMContentLoaded 和 load 事件之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29040758/