Window Attributes Flashcards

1
Q

onafterprint

A
Script to be run after the document
is printed (JavaScript)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

onbeforeprint

A

script to be run before the

document is printed (JavaScript)

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

onbeforeunload

A

runs JavaScript when the

document is to be unloaded

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

onerror=””

A

JavaScript to be run in an error

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

onhashchange=””

A

JavaScript to be ran when there

are changes to the anchor of the URL

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

onload=””

A

JavaScript to be ran after the page

has finished loading

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

onmessage

A

JavaScript to be fired when

a message is triggered

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

onoffline

A

JavaScript to run when a

browser goes offline

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

ononline

A

JavaScript to run when a

browser goes online

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

onpagehide

A

JavaScript to be ran when a

user navigates away from the page

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

onpageshow

A

JavaScript to run when a

user navigates to the page

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

onpopstate

A

runs a script when the

window’s history changes

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

onresize

A

runs a script when the

browser window is resized

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

onstorage

A

JavaScript ran when a

Web Storage area is updated

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

onunload

A

Fires once a page has unloaded
OR
when the browser window is closed

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