From 9d74d6ce50d4011a36e707da0939858d18193d5d Mon Sep 17 00:00:00 2001 From: Adam Gordon Date: Wed, 2 Mar 2016 13:01:11 -0700 Subject: [PATCH] fix(tabs): update doc and fix tab demo * update tab documentation to clarify proper use and intended behavior of the `active` attribute on both the `tabset` and `tab` directives. * fix the tab select buttons in the tab demo. Closes #5575 Fixes #5551 --- src/tabs/docs/demo.html | 4 ++-- src/tabs/docs/readme.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tabs/docs/demo.html b/src/tabs/docs/demo.html index e2850b5948..8e60de6183 100644 --- a/src/tabs/docs/demo.html +++ b/src/tabs/docs/demo.html @@ -7,8 +7,8 @@

Select a tab by setting active binding to true:

- - + +

diff --git a/src/tabs/docs/readme.md b/src/tabs/docs/readme.md index 689b379563..5ec38b64de 100644 --- a/src/tabs/docs/readme.md +++ b/src/tabs/docs/readme.md @@ -5,7 +5,7 @@ AngularJS version of the tabs directive. * `active` _(Default: `Index of first tab`)_ - - Active index of tab. + Active index of tab. Setting this to an existing tab index will make that tab active. * `justified` $ @@ -31,7 +31,7 @@ AngularJS version of the tabs directive. $ _(Default: `false`)_ - - Whether tab is currently selected. + Whether tab is currently selected. Note that this is purely for CSS and will not physically set this tab to active. * `classes` $ -