From 1b54f02423d7b3d1f6c5192313fc354015dcee9d Mon Sep 17 00:00:00 2001 From: Karl Sieburg Date: Tue, 19 Apr 2016 11:25:58 -0400 Subject: [PATCH] feat(tabs): pass the selected tab index to onDeselect - Doc update - Fixes #5820 --- src/tabs/docs/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs/docs/readme.md b/src/tabs/docs/readme.md index d7681a95be..eae3108d5f 100644 --- a/src/tabs/docs/readme.md +++ b/src/tabs/docs/readme.md @@ -33,7 +33,7 @@ AngularJS version of the tabs directive. * `deselect()` $ - - 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. + 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` $