Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

How to create a keypress event for ANY key on the keyboard that is pressed ? (not a specific key.)

$
0
0

I realise that if I use:

if (e.which == 81) {

do whatever

}

I can activate an action based on key 81 being pressed.


But how would I do the same, regardless of what key is pressed?


Viewing all articles
Browse latest Browse all 9897

Trending Articles