Skip to content

Add $KEY constant #357

Open
@bob2517

Description

@bob2517

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.

Metadata

Metadata

Assignees

Labels

docs to doDocumentation still needs doing before this can get releasedenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions