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.
Rather like using ng-model with things like
it would be really handy to be able to know the currently selected tab or to set the selected tab (e.g. to bookmark the selected tab via a $location.search() parameter etc.
So rather than having to add a select() to each <tab> just add a select function on <tabset> or just bind the selected tab's heading (or tab object) to some model so that the outer controller can read the selection and ideally so that the outer controller can change the selected tab
The text was updated successfully, but these errors were encountered:
The main issue with this request I have is that this seems like this would add a bunch of complexity in order to support this feature, which would result in a lot of code & overhead that many do not need.
We favor extensibility over configuration due to the complexity and bloat that configuration ends up adding. What are your thoughts given this?
@jstrachan, that solution would result in a fair amount of duplicate code.
@wesleycho, what do you think about adding a method to UibTabsetController to return the active tab? That would be a really straight-forward mod. @jstrachan, would that suffice for your needs?
Rather like using ng-model with things like it would be really handy to be able to know the currently selected tab or to set the selected tab (e.g. to bookmark the selected tab via a $location.search() parameter etc. So rather than having to add a select() to each <tab> just add a select function on <tabset> or just bind the selected tab's heading (or tab object) to some model so that the outer controller can read the selection and ideally so that the outer controller can change the selected tab
The text was updated successfully, but these errors were encountered: