You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's like click, but when you don't click on your element.
5
6
6
7
<h4>Installing</h4>
7
8
```
9
+
npm install angular-off-click --save
10
+
```
11
+
-OR-
12
+
```
8
13
bower install angular-off-click --save
9
14
```
10
-
15
+
-THEN-
11
16
```javascript
12
17
angular('yourAngularApp',['offClick']);
13
18
```
@@ -24,4 +29,3 @@ Here we have a slide out navigation div that will appear when the user clicks a
24
29
The `off-click` attribute is the expression or function that will execute each time the user doesn't click on your element (or filter)<br />
25
30
The optional `off-click-if` attribute is an expression that will determine if the `off-click` should trigger or not.<br/>
26
31
The optional `off-click-filter` directive allows you to pass a comma separated list of targets whose `off-click` will not be triggered when the element `off-click-filter` was applied to is clicked (gets parsed as javascript, so remember to wrap in single quotes)
0 commit comments