-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (68 loc) · 1.93 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
<!DOCTYPE html>
<meta name="robots" content="noindex">
<html>
<head>
<meta charset="utf-8">
<title>Keypress tester</title>
<link href="https://fonts.googleapis.com/css?family=Fira+Sans" rel="stylesheet">
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/junction" type="text/css"/>
<link rel="stylesheet" href="css/style.css">
</head>
<body><div id="container"> <pre id='display'>Press a key</pre>
<table class="tg">
<tr>
<th class="tg-k9ij">member</th>
<th class="tg-k9ij">value</th>
<th class="tg-k9ij">notes</th>
</tr>
<tr>
<td class="tg-isb1">altKey</td>
<td id='altKey' class="tg-isb1"></td>
<td class="tg-isb1"></td>
</tr>
<tr>
<td class="tg-gq9a">ctrlKey</td>
<td id='ctrlKey' class="tg-gq9a"></td>
<td class="tg-gq9a"></td>
</tr>
<tr>
<td class="tg-isb1">shiftKey</td>
<td id='shiftKey' class="tg-isb1"></td>
<td class="tg-isb1"></td>
</tr>
<tr>
<td class="tg-gq9a">metaKey</td>
<td id='metaKey' class="tg-gq9a"></td>
<td class="tg-gq9a"></td>
</tr>
<tr>
<td class="tg-isb1">code</td>
<td id='code' class="tg-isb1"></td>
<td class="tg-isb1"></td>
</tr>
<tr>
<td class="tg-gq9a">charCode</td>
<td id='charCode' class="tg-gq9a"></td>
<td class="tg-gq9a">deprecated, avoid using this<br></td>
</tr>
<tr>
<td class="tg-isb1">key</td>
<td id='key' class="tg-isb1"></td>
<td class="tg-isb1"></td>
</tr>
<tr>
<td class="tg-gq9a">keyCode</td>
<td id='keyCode' class="tg-gq9a"></td>
<td class="tg-gq9a">deprecated, avoid using this</td>
</tr>
<tr>
<td class="tg-isb1">type</td>
<td id='type' class="tg-isb1"></td>
<td class="tg-isb1"></td>
</tr>
</table></div>
<input id="preventdefault" type='checkbox' checked='true'>preventDefault</input>
<input id="stoppropagation" type='checkbox' checked='true'>stopPropagation</input>
<script src="js/keypress.js"></script>
</body>
</html>