-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (105 loc) · 6.21 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="DC.title" content="Key Board Event Info Tool - (keyCodes, metaKey, etc...) | https://www.facebook.com/maarkup/"
/>
<meta name="description" content="When a key pressed keyBoardEvent fires and you can test the key code of pressed key because that event contains information.">
<meta name="keyword" content="javascript, key code, key event, key which" />
<!-- Bootstrap CSS -->
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<title>Javascript Key Board Event Info</title>
<!-- FAVICON -->
<link rel="shortcut icon" href="images/fav.ico" type="image/x-icon">
</head>
<body>
<div id="fb-root"></div>
<script>
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.8";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="container-fluid body-wrapper">
<header class="row header">
<div class="col-2 quick-contact">
mail [at] <a href="mailto:[email protected]">[email protected]</a>
</div>
<div class="col-8 logo-wrapper">
<a href="https://www.facebook.com/maarkup/" target="_blank"><img src="images/logo.png" alt="R. Kumar - Key Board Event Info"></a>
</div>
<div class="col-2">
<div class="like-button-wrapper">
<div class="fb-like" data-href="https://rakeshongithub.github.io/keyEventInfo/" data-layout="button" data-action="recommend"
data-size="small" data-show-faces="true" data-share="true"></div>
</div>
</div>
</header>
<section class="row middle-wrapper">
<div class="col align-self-center">
<div class="key-code">--</div>
<div class="key-name">press any key to get the <code>keyBoardEvent</code> info</div>
</div>
</section>
<footer class="footer row">
<h1>Key Board Event Info</h1>
<div class="col-12 info-block">
<div class="row">
<div class="col">
<ul class="list-unstyled event-info">
<li data-event="altKey"><strong>altKey: </strong> <span>-</span></li>
<li data-event="bubbles"><strong>bubbles: </strong> <span>-</span></li>
<li data-event="cancelBubble"><strong>cancelBubble: </strong> <span>-</span></li>
<li data-event="cancelable"><strong>cancelable: </strong> <span>-</span></li>
<li data-event="charCode"><strong>charCode: </strong> <span>-</span></li>
<li data-event="code"><strong>code: </strong> <span>-</span></li>
</ul>
</div>
<div class="col">
<ul class="list-unstyled event-info">
<li data-event="composed"><strong>composed: </strong> <span>-</span></li>
<li data-event="ctrlKey"><strong>ctrlKey: </strong> <span>-</span></li>
<li data-event="currentTarget"><strong>currentTarget: </strong> <span>-</span></li>
<li data-event="defaultPrevented"><strong>defaultPrevented: </strong> <span>-</span></li>
<li data-event="detail"><strong>detail: </strong> <span>-</span></li>
<li data-event="eventPhase"><strong>eventPhase: </strong> <span>-</span></li>
</ul>
</div>
<div class="col">
<ul class="list-unstyled event-info">
<li data-event="isComposing"><strong>isComposing: </strong> <span>-</span></li>
<li data-event="isTrusted"><strong>isTrusted: </strong> <span>-</span></li>
<li data-event="key"><strong>key: </strong> <span>-</span></li>
<li data-event="keyCode"><strong>keyCode: </strong> <span>-</span></li>
<li data-event="location"><strong>location: </strong> <span>-</span></li>
<li data-event="metaKey"><strong>metaKey: </strong> <span>-</span></li>
</ul>
</div>
<div class="col">
<ul class="list-unstyled event-info">
<li data-event="path"><strong>path: </strong> <span>-</span></li>
<li data-event="repeat"><strong>repeat: </strong> <span>-</span></li>
<li data-event="returnValue"><strong>returnValue: </strong> <span>-</span></li>
<li data-event="shiftKey"><strong>shiftKey: </strong> <span>-</span></li>
<li data-event="type"><strong>type: </strong> <span>-</span></li>
<li data-event="timeStamp"><strong>timeStamp: </strong> <span>-</span></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
<script src="js/key-config.min.js"></script>
<script src="js/key-event.min.js"></script>
<script>
!function (a, b, c, d, e, f, g) { a.GoogleAnalyticsObject = e, a[e] = a[e] || function () { (a[e].q = a[e].q || []).push(arguments) }, a[e].l = 1 * new Date, f = b.createElement(c), g = b.getElementsByTagName(c)[0], f.async = 1, f.src = d, g.parentNode.insertBefore(f, g) }(window, document, "script", "https://www.google-analytics.com/analytics.js", "ga"), ga("create", "UA-93913253-1", "auto"), ga("send", "pageview");
</script>
</body>
</html>