An open API service indexing awesome lists of open source software.

https://github.com/xuender/hotkey

Provide hotkey functionality in AngularJS
https://github.com/xuender/hotkey

Last synced: 2 months ago
JSON representation

Provide hotkey functionality in AngularJS

Awesome Lists containing this project

README

        

ng-hotkey
======

Provide hotkey functionality in AngularJS

## Getting Started

1. User Bower install hotkey.
```
bower install ng-hotkey
```
1. Include hotkey on your page

```html

```
1. Put nghotkey to your module dependencies

```javascript
var app = angular.module('app', ['hotkey']);
```
1. Set hotkey for elements or directives using hotkey directive as an attribute

```html



run

```

## Note

If have ng-click attribute then execution ng-click else focus.