GlobalEventHandlers.onabort

Invalid slug for templ/sidebar: conflicting/Web/API/HTMLMediaElement/abort_event

Sumário

Um manipulador de eventos que aborta eventos enviados para a janela. (Não disponível para o Firefox 2 ou Safari)

TODO define what "abort" is. Closing the window via window manager? Stopping the load of the page? By which means and reasons (user, network/server)? At which stages would it fire / be catched? For IE, onabort is only available with img tags.

Sintaxe

window.onabort =funcRef
  • funcRef: Reference to a function

Exemplo

js
window.onabort = function() {
  alert("Load aborted.");
}

Especificação

No specification found

No specification data found for undefined.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.