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
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,5 +35,8 @@ Here we have a slide out navigation div that will appear when the user clicks a
35
35
```
36
36
37
37
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 />
38
+
38
39
The optional `off-click-if` attribute is an expression that will determine if the `off-click` should trigger or not.<br/>
39
-
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)
40
+
41
+
The included `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).
42
+
If you pass `off-click-filter="'*'"` that element will be a filter for every off-click on the page.
0 commit comments