Hacker News new | ask | show | jobs
by jefftchan 4171 days ago
I'd like to see scoping added so it's possible to easily switch keyboard bindings based on the feature/context.

https://github.com/madrobby/keymaster does an OK job with this, and too bad it's not being actively maintained.

1 comments

The first param of the constructor for the Listener is an element to be bound to so it will only listen for key events for that element.