JSFiddle - React, Tailwind, and code Playground
by Ian Sanders
HTML
<input onkeydown="onKeyDown(event)" />
JavaScript
function onKeyDown(e) {
console.log(e.key, e.altKey)
}
by Ian Sanders
<input onkeydown="onKeyDown(event)" />
function onKeyDown(e) {
console.log(e.key, e.altKey)
}