Events Flashcards
Element: error
A resource has failed to load
Uses the Event OR UIEvent interface.
HTMLMediaElement: abort
The loading of a resource has been aborted.
Window: load
A resource (the markup) and its dependent resources (style sheets, scripts) have finished loading.
Window: beforeunload
The window, the document, and its resources are about to be unloaded.
Window: unload
The document or a dependent resource is being unloaded.
Window: online
The browser has gained access to the network.
Window: offline
The browser has lost access to the network.
Element: focus
An element has received focus (does not bubble).
Uses the FocusEvent interface.
Element: blur
An element has lost focus (does not bubble).
Uses the FocusEvent interface.
Element: focusin
An element is ABOUT to receive focus (does bubble).
Uses the FocusEvent interface.
Element: focusout
An element is ABOUT to lose focus (does bubble).
Uses the FocusEvent interface.
WebSocket: open
A websocket connection has been established.
WebSocket: message
A message is received through a websocket.
Uses the MessageEvent interface.
WebSocket: close
A websocket connection has been closed.
Uses the CloseEvent interface.
Window: pagehide
When the browser hides the current page in the process of presenting a different page from the session’s history (like hitting the browser back button).
Uses the PageTransitionEvent interface.