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


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



Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'beginEvent' in that specification.
Candidate Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
abort eventChrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?


Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Last updated by: chrisdavidmills,