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
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
* add ability for user to prevent currently selected tab's deselection by
calling `$event.preventDefault()` in tab's `deselect` callback.
Fixes#5720
Addresses #2715, #4836, and #5716.
Copy file name to clipboardExpand all lines: src/tabs/docs/readme.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ AngularJS version of the tabs directive.
33
33
34
34
*`deselect()`
35
35
<smallclass="badge">$</small> -
36
-
An optional expression called when tab is deactivated. Supports $event in template for expression.
36
+
An optional expression called when tab is deactivated. Supports $event in template for expression. You may call `$event.preventDefault()` in this event handler to prevent a tab change from occurring.
0 commit comments