-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEvents_notes.js
21 lines (18 loc) · 985 Bytes
/
Events_notes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// ! what we will cover
// 3 ways of writing Events in Javascript
//What is Event Object?
//MouseEvent in JavaScript
//KeyboardEvent in JavaScript
//InputEvents in JavaScript
//? Mouse Events
//* Event Occurs When
//onclick The user clicks on an element
//oncontextmenu The user right-clicks on an element
//ondblclick The user double-clicks on an element
//onmousedown A mouse button is pressed over an element
//onmouseenter The pointer is moved onto an element
//onmouseleave The pointer is moved out of an element
//onmousemove The pointer is moving over an element
//onmouseout The mouse pointer moves out of an element
//onmouseover The mouse pointer is moved over an element
//onmouseup The mouse button is released over an element