Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
feat(tabs): pass the selected tab index to onDeselect
Browse files Browse the repository at this point in the history
-  Add the index of the tab the user attempted to open to the onDeselect call, which allows the user to directed to the selected tab
after some work is performed.

- Closes #5820
  • Loading branch information
ksieburg committed Apr 19, 2016
1 parent 1b54f02 commit 1fca691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabs/docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AngularJS version of the tabs directive.

* `deselect()`
<small class="badge">$</small> -
An optional expression called when tab is deactivated. Supports $event and selectedTabIndex in template for expression. You may call `$event.preventDefault()` in this event handler to prevent a tab change from occurring. The selectedTabIndex can be used to determine which tab was attempted to be opened.
An optional expression called when tab is deactivated. Supports `$event` and `selectedTabIndex` in template for expression. You may call `$event.preventDefault()` in this event handler to prevent a tab change from occurring. The `selectedTabIndex` can be used to determine which tab was attempted to be opened.

* `disable`
<small class="badge">$</small>
Expand Down

0 comments on commit 1fca691

Please sign in to comment.