Tutorials

API Reference

Improve this doc

voorhoede.components.keyBindings

Contextual key combo handling through directives.

Installation

First include undefined in your HTML:

        <script src="angular.js">
        <script src="">

You can download this file from the following places:

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!

Module Components

Directive

Name Description
keyBinding

Binds keys to the lifecycle of the scope.

Service

Name Description
keyBindings

Manages the grouping of key combos and handlers, and (un)binds combos at appropriate moments using Mousetrap.