active-css
active-css copied to clipboard
Add $KEY constant
It's currently not obvious how to get the key pressed in keyboard events, as you have to use JS in event commands to reference it ("{= o.e.data =}" or "{= o.e.key =}" depending on the event type).
Make a $KEY constant available in events that contains the string of the key pressed.