Dec 14, 2019 in React JS
Q: Keyboard Events in React js

1 Answer

0 votes
Dec 14, 2019

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.


Click here to read more about React JS
Click here to read more about Insurance

Related questions

0 votes
0 votes
0 votes
0 votes
0 votes
Dec 14, 2019 in React JS
0 votes
...