Categories

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

1 Answer

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

Madanswer
Dec 14, 2019 in React JS
Dec 14, 2019 in React JS
Jul 2, 2019 in React JS
...