Events Flashcards

1
Q

Element: error

A

A resource has failed to load

Uses the Event OR UIEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

HTMLMediaElement: abort

A

The loading of a resource has been aborted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Window: load

A

A resource (the markup) and its dependent resources (style sheets, scripts) have finished loading.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Window: beforeunload

A

The window, the document, and its resources are about to be unloaded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Window: unload

A

The document or a dependent resource is being unloaded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Window: online

A

The browser has gained access to the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Window: offline

A

The browser has lost access to the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Element: focus

A

An element has received focus (does not bubble).

Uses the FocusEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Element: blur

A

An element has lost focus (does not bubble).

Uses the FocusEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Element: focusin

A

An element is ABOUT to receive focus (does bubble).

Uses the FocusEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Element: focusout

A

An element is ABOUT to lose focus (does bubble).

Uses the FocusEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

WebSocket: open

A

A websocket connection has been established.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

WebSocket: message

A

A message is received through a websocket.

Uses the MessageEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

WebSocket: close

A

A websocket connection has been closed.

Uses the CloseEvent interface.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Window: pagehide

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Window: pageshow

A

When the browser displays the window’s document due to navigation.

  • Initially loading the page
  • navigating to the page from another tab
  • returning to a frozen page on mobile OS
  • returning to the page with the browser forward or back button

Uses the PageTransitionEvent interface.