ember-keyboard
, an Ember addon for the painless support of keyboard events.
- Dynamic priority levels allow you to specify which components respond first to key events and under what circumstances. (Thanks to
ember-key-responder
for the inspiration) - Human-readable key-mappings. (Thanks to
ember-keyboard-service
for the inspiration) - Support for
keyup
,keydown
, andkeypress
, as well as the modifier keys:ctrl
,alt
,shift
, andmeta
. - Compatible with Ember 2.0+.
In order to avoid adding keyboard shortcuts to your application that are already in use by assistive technology, please review the existing keyboard shortcuts and gestures available today: https://dequeuniversity.com/screenreaders/.
ember install ember-keyboard
You can find interactive documentation here.