GlobalEventHandlers.onabort
Summary
Обработчик событий, позволяющий прерывать события объекта window. (Недоступен для Firefox 2 и 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? Для IE, событие onabort доступно только для тега img
.
Syntax
window.onabort = funcRef
funcRef
: Reference to a function
Example
window.onabort = function() {
alert("Load aborted.");
}
Specification
Specification | Status | Comment |
---|---|---|
HTML Living Standard Определение 'onabort' в этой спецификации. |
Живой стандарт |
Browser Compatibility
{{Compat}}