Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binocarlos/hammer-for-angular
Component build for hammer directives in angular.js
https://github.com/binocarlos/hammer-for-angular
Last synced: 11 days ago
JSON representation
Component build for hammer directives in angular.js
- Host: GitHub
- URL: https://github.com/binocarlos/hammer-for-angular
- Owner: binocarlos
- Created: 2013-08-19T12:22:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-12T17:35:38.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T14:36:41.170Z (7 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
hammer-for-angular
==================Component build for hammer directives in angular.js
## installation
$ component install binocarlos/hammer-for-angular
## usage
```js
// we must register the component with angular
require('hammer-for-angular');angular
.module("myModule", [
"hmTouchevents"
])
```We can now use the hammer directives in our app
```html
hello
```You can change the default settings for the instance by adding a second attribute with options:
hm-options="{drag: false, transform: false}"
Totally [stolen](https://github.com/randallb/angular-hammer) and wrapped up as component.
## Licence
MIT