SVGElement: abort event

The abort event is fired when page loading is stopped before an SVG element has been allowed to load completely. This basically implements the standard abort DOM event.

Bubbles No
Cancelable No
Interface SVGEvent
Event handler property onabort

Examples

svgElem.addEventListener('abort', () => {
  console.log('Load aborted.');
})

Specifications

Not really described anywhere specifically, but mentioned in the SVG 2 spec.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
abort eventChrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Compatibility unknown
Compatibility unknown