Skip to content

Commit 8b350f0

Browse files
remove npm install from readme
1 parent 6723164 commit 8b350f0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ It's like click, but when you don't click on your element.
77
```
88
bower install angular-off-click --save
99
```
10-
or
11-
```
12-
npm install angular-off-click --save
13-
1410

1511
```javascript
1612
angular('yourAngularApp',['offClick']);
@@ -19,7 +15,7 @@ angular('yourAngularApp',['offClick']);
1915
<h4>Usage/Example</h4>
2016
Here we have a slide out navigation div that will appear when the user clicks a button. We want the div to go away when they click off of it (`off-click`). We also want to make sure the button that triggers the div to open, also does initial close it (`off-click-filter`).
2117
```html
22-
<button id="nav-toggle" off-click-filter="#slide-out-nav" ng-click="showNav = !showName">Show Navigation</button>
18+
<button id="nav-toggle" off-click-filter="#slide-out-nav" ng-click="showNav = !showNav">Show Navigation</button>
2319
<div id="slide-out-nav" ng-show="showNav" off-click="showNav = false" off-click-if="showNav">
2420
...
2521
</div>

0 commit comments

Comments
 (0)