Open rofrol opened 6 years ago
Simple test shows that key event works
key
document.querySelector('input').addEventListener("keydown", function (event) { document.querySelector('div').innerText = event.key || 'xd'; }, true);
https://jsfiddle.net/rofrol/7ofwaboj/14/
Simple test shows that
key
event workshttps://jsfiddle.net/rofrol/7ofwaboj/14/