Skip to content

Commit ba300cf

Browse files
committed
Add support for 'single quote' key
1 parent 36bc277 commit ba300cf

File tree

7 files changed

+11
-5
lines changed

7 files changed

+11
-5
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,14 @@ You can handle one or more common keys by using an array of their names.
133133
| -/minus | 189, 45, 173, 109 |
134134
| . | 190, 110 |
135135
| / | 191, 111 |
136-
| `| 192 |
136+
| ` | 192 |
137137
| [ | 219 |
138138
| \ | 220 |
139139
| ] | 221 |
140140
| \* | 106 |
141141
| +/plus | 107 |
142+
| +/plus | 107 |
143+
| '/quote | 222 |
142144

143145
**Note**: Native keyboard events with modifier key(s) will **NOT** match common keys in `handleKeys`. e.g. `handleKeys=['a']` will not handler events with combined keys 'Ctrl' and 'a'. To match native keyboard event with modifiers, read the next section.
144146

demo/dist/demo.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)