Name

Image.onabort: event handler invoked when the user aborts image loading — DOM Level 2 Events

Synopsis

Function onabort

Description

The onabort property of an Image object specifies an event-handler function that is invoked when the user aborts the loading of a page (for example, by clicking the Stop button) before the image has finished loading.

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.