in React JS by
Keyboard Events in React js

▼ Show 1 Answer

0 votes

Event names:

onKeyDown onKeyPress onKeyUp


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.

React JS
Learn More with Madanswer

Related questions

0 votes
0 votes
0 votes
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima
0 votes
0 votes