Skip to content

Commit f44e8cc

Browse files
sophiebitszpao
authored andcommitted
Add charCode/keyCode/which to key event docs
1 parent 60b5520 commit f44e8cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/docs/ref-05-events.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ Properties:
6262

6363
```javascript
6464
boolean altKey
65-
String char
6665
boolean ctrlKey
66+
Number charCode
6767
String key
68+
Number keyCode
6869
String locale
6970
Number location
7071
boolean metaKey
7172
boolean repeat
7273
boolean shiftKey
74+
Number which
7375
```
7476

7577

0 commit comments

Comments
 (0)