https://github.com/alisabzevari/nghotkey
Provide hotkey functionality in AngularJS using Mousetrap
https://github.com/alisabzevari/nghotkey
angularjs hotkey-functionality mousetrap
Last synced: about 1 year ago
JSON representation
Provide hotkey functionality in AngularJS using Mousetrap
- Host: GitHub
- URL: https://github.com/alisabzevari/nghotkey
- Owner: alisabzevari
- License: other
- Created: 2013-11-26T03:55:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-11-27T14:26:12.000Z (over 12 years ago)
- Last Synced: 2025-02-09T14:25:09.925Z (over 1 year ago)
- Topics: angularjs, hotkey-functionality, mousetrap
- Language: JavaScript
- Size: 277 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
NgHotkey
========
Provide hotkey functionality in AngularJS using [Mousetrap](https://github.com/ccampbell/mousetrap)
## Getting Started
1. Include nghotkey on your page
```html
```
2. Put nghotkey to your module dependencies
```javascript
var app = angular.module('app', ['nghotkey']);
```
3. Set hotkey for elements or directives using hotkey directive as an attribute
```html
```