Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mrblackus committed Mar 20, 2015
1 parent 8a240d0 commit dbbf97a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Directive to handle double click event for web application running on iOS Safari
Use it exactly like `ng-dblclick` directive by passing it a function to execute when event is triggered.

## Usage
```
```html
<div ios-dblclick="myMethod()"></div>
```

Expand All @@ -15,17 +15,17 @@ bower install --save ios-dblclick
```

Include `ios-dblclick.js` in your `index.html` file.
```
```html
<script src="bower_components/ios-dblclick/ios-dblclick.js"></script>
```

Then include iosDblclick as a dependency in your angular module.
```
```javascript
angular.module('myApp', ['iosDblclick']);
```

## Contributing
Feel free to open issue or submit pull request to improve this directive !

## License
This directive is published under MIT license, see LICENSE file.
This directive is published under MIT license, see LICENSE file.

0 comments on commit dbbf97a

Please sign in to comment.