voorhoede.components.keyBindings
Contextual key combo handling through directives.
First include undefined
in your HTML:
<script src="angular.js">
<script src="">
You can download this file from the following places:
//ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/undefined
bower install @X.Y.Z
"//code.angularjs.org/X.Y.Z/"
where X.Y.Z is the AngularJS version you are running.
Then load the module in your application by adding it as a dependent module:
angular.module('app', ['voorhoede.components.keyBindings']);
With that you're ready to get started!
Name | Description |
---|---|
keyBinding | Binds keys to the lifecycle of the scope. |
Name | Description |
---|---|
keyBindings | Manages the grouping of key combos and handlers, and (un)binds combos at appropriate moments using Mousetrap. |