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
- Host: GitHub
- URL: https://github.com/xuender/hotkey
- Owner: xuender
- License: mit
- Created: 2014-01-24T06:49:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-15T13:34:52.000Z (over 10 years ago)
- Last Synced: 2025-03-09T12:09:46.515Z (3 months ago)
- Language: CoffeeScript
- Homepage:
- Size: 205 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.