-
Notifications
You must be signed in to change notification settings - Fork 0
/
view-events.html
233 lines (189 loc) · 12.4 KB
/
view-events.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>JavaScript | View Events</title>
<!-- Bootstrap core CSS -->
<!-- <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet"> -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="css/simple-sidebar.css" rel="stylesheet">
<!--Custom CSS-->
<link rel="stylesheet" href="css/style.css">
<!--Logo-->
<link rel="icon" href="images/javascript.png" type="image/gif" sizes="16x16">
</head>
<body>
<div class="d-flex" id="wrapper">
<!-- Sidebar -->
<div class="bg-light border-right" id="sidebar-wrapper">
<div class="sidebar-heading">JavaScript Events</div>
<div class="list-group list-group-flush">
<a href="index.html" class="list-group-item list-group-item-action ">Home</a>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu0" data-toggle="collapse" data-target="#submenu0">Resource Events</a>
<div class="collapse" id="submenu0" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="resource-events.html">Error</a> </li>
<li class="nav-item py-1 px-4"><a href="resource-events.html">Abort</a></li>
<li class="nav-item py-1 px-4"><a href="resource-events.html">Load</a></li>
<li class="nav-item py-1 px-4"><a href="resource-events.html">Beforeunload</a></li>
<li class="nav-item py-1 px-4"><a href="resource-events.html">Unload</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu1" data-toggle="collapse" data-target="#submenu1">Network</a>
<div class="collapse" id="submenu1" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="network-events.html">Online</a></li>
<li class="nav-item py-1 px-4"><a href="network-events.html">Offline</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu2" data-toggle="collapse" data-target="#submenu2">Focus</a>
<div class="collapse" id="submenu2" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="focus-events.html">Focus/Blur</a></li>
<li class="nav-item py-1 px-4"><a href="focus-events.html">Focusin/Focusout</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu3" data-toggle="collapse" data-target="#submenu3">WebSocket Events</a>
<div class="collapse" id="submenu3" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="websocket-events.html">Open</a></li>
<li class="nav-item py-1 px-4"><a href="websocket-events.html">Message</a></li>
<li class="nav-item py-1 px-4"><a href="websocket-events.html">Error</a></li>
<li class="nav-item py-1 px-4"><a href="websocket-events.html">Close</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu4" data-toggle="collapse" data-target="#submenu4">CSS Animation Events</a>
<div class="collapse" id="submenu4" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="css-animation-events.html">Animation Start</a></li>
<li class="nav-item py-1 px-4"><a href="css-animation-events.html">Animation Cancel</a></li>
<li class="nav-item py-1 px-4"><a href="css-animation-events.html">Animation End</a></li>
<li class="nav-item py-1 px-4"><a href="css-animation-events.html">Animation Iteration</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu5" data-toggle="collapse" data-target="#submenu5">CSS Transition Events</a>
<div class="collapse" id="submenu5" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="css-transition-events.html">Transition Start</a></li>
<li class="nav-item py-1 px-4"><a href="css-transition-events.html">Transition Cancel</a></li>
<li class="nav-item py-1 px-4"><a href="css-transition-events.html">Transition End</a></li>
<li class="nav-item py-1 px-4"><a href="css-transition-events.html">Transition Iteration</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu6" data-toggle="collapse" data-target="#submenu6">Form Events</a>
<div class="collapse" id="submenu6" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="form-events.html">Reset</a></li>
<li class="nav-item py-1 px-4"><a href="form-events.html">Submit</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action " href="#submenu7" data-toggle="collapse" data-target="#submenu7">Composition Events</a>
<div class="collapse" id="submenu7" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="composition-events.html">Composition Start</a></li>
<li class="nav-item py-1 px-4"><a href="composition-events.html">Composition Update</a></li>
<li class="nav-item py-1 px-4"><a href="composition-events.html">Composition End</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action active" href="#submenu8" data-toggle="collapse" data-target="#submenu8">View Events</a>
<div class="collapse show" id="submenu8" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="view-events.html">Full screen change</a></li>
<li class="nav-item py-1 px-4"><a href="view-events.html">Full screen error</a></li>
<li class="nav-item py-1 px-4"><a href="view-events.html">Resize</a></li>
<li class="nav-item py-1 px-4"><a href="view-events.html">Scroll</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action" href="#submenu9" data-toggle="collapse" data-target="#submenu9">Keyboard Events</a>
<div class="collapse" id="submenu9" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="keyboard-events.html">Keydown</a></li>
<li class="nav-item py-1 px-4"><a href="keyboard-events.html">Keyup</a></li>
</ul>
</div>
<a class="collapsed text-truncate list-group-item list-group-item-action" href="#submenu10" data-toggle="collapse" data-target="#submenu10">Mouse Events</a>
<div class="collapse" id="submenu10" aria-expanded="false">
<ul class="flex-column pl-2 nav">
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Auxclick</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Click</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Context Menu</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Double Click</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse Down</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse Move</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse Up</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse Enter</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse Leave</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse Over</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Mouse out</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Select</a></li>
<li class="nav-item py-1 px-4"><a href="mouse-events.html">Wheel</a></li>
</ul>
</div>
</div>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
<button class="btn" id="menu-toggle">List of Events</button>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mt-2 mt-lg-0">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<!--Full Screen change Event-->
<h1 class="mt-4">Document: fullscreenchange event</h1>
<p>The fullscreenchange event is fired immediately after the browser switches into or out of full-screen mode.</p>
<h3 class="mt-4">Example</h3>
<h1>fullscreenchange event example</h1>
<div id="fullscreen-div">
<button id="toggle-fullscreen">Toggle Fullscreen Mode</button>
</div>
<!--Full Screen change Event-->
<h1 class="mt-4">Document: fullscreenerror event</h1>
<p>The fullscreenerror event is fired when the browser cannot switch to full-screen mode.</p>
<!--Screen Resize Event-->
<h1 class="mt-4">Window: resize event</h1>
<p>The resize event fires when the document view (window) has been resized.</p>
<h3 class="mt-4">Example</h3>
<p>Resize the browser window to fire the <code>resize</code> event.</p>
<p>Window height: <span id="height"></span></p>
<p>Window width: <span id="width"></span></p>
<!--Scroll Event-->
<h1 class="mt-4">Document: scroll event</h1>
<p>The compositionend event is fired when a text composition system such as an input method editor completes or cancels the current composition session.</p>
<h3 class="mt-4">Example</h3>
<div>
Scroll Y : <span id="scrolly"> </span>
</div>
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- Bootstrap core JavaScript -->
<!-- JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="js/view.js"></script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
</body>
</html>