ember-hotkey
An Ember.js component for reacting to keyboard events.
Usage
Installation
ember install @abcum/ember-hotkey
General usage
The key
attribute defines which keyboard key must be pressed to activate the callback.
The modifier attributes alt
, meta
, ctrl
, shift
can be can be used to enable advanced key combinations.
Add multiple modifiers to specify combinations of keys which need to be pressed together in order to activate the callback.
Development
-
make install
(install bower and ember-cli dependencies) -
make upgrade
(upgrade ember-cli to the specified version) -
make tests
(run all tests defined in the package)