0 votes
in ReactJS by
Keyboard Events in React js

1 Answer

0 votes
by

Event names:

onKeyDown onKeyPress onKeyUp

Properties:

boolean altKey
number charCode
boolean ctrlKey
boolean getModifierState(key)
string key
number keyCode
string locale
number location
boolean metaKey
boolean repeat
boolean shiftKey
number which

The key property can take any of the values documented in the DOM Level 3 Events spec.


Related questions

+1 vote
0 votes
0 votes
0 votes
0 votes
asked Dec 14, 2019 in ReactJS by AdilsonLima
0 votes
0 votes
0 votes
0 votes
0 votes
asked Dec 14, 2019 in ReactJS by AdilsonLima
...