You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
It would be great if there was a directive that would allow a user to bind a keypress event to specified key code and key code modifiers.
What exists currently on the web/ng:
Currently ng-keypress exists, but if you only need to build out more logic to watch which key codes are triggered.
On the opposite side of the spectrum there are simple and very handy directives such as seen below which allow you to bind a single keycode which evaluates the expression provided in the html:
I believe we could make something in the middle by allowing a user to add a directive, supply a key code and/or key code+modifiers, and an expression to evaluate.