load event ¶
See also
Definition ¶
The load event is fired when the whole page has loaded, including all dependent resources such as stylesheets and images.
This is in contrast to DOMContentLoaded , which is fired as soon as the page DOM has been loaded, without waiting for resources to finish loading.