Name
Image.onload: event handler invoked when an image finishes loading â DOM Level 2 Events
Synopsis
Function onload
Description
The onload
property of an
Image object specifies an event-handler function that is invoked
when an image loads successfully. See also Window.onload
.
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.