You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/5-loading/01-onload-ondomcontentloaded/article.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
The lifecycle of an HTML page has three important events:
4
4
5
5
-`DOMContentLoaded` -- the browser fully loaded HTML, and the DOM tree is built, but external resources like pictures `<img>` and stylesheets may be not yet loaded.
6
-
-`load` -- not onyl HTML is loaded, but also all the external resources: images, styles etc.
6
+
-`load` -- not only HTML is loaded, but also all the external resources: images, styles etc.
7
7
-`beforeunload/unload` -- the user is leaving the page.
0 commit comments