-
Notifications
You must be signed in to change notification settings - Fork 6.7k
uib-tab settings: click() #5716
Comments
I think what you may want is a way to call Currently this feature does not exist in the library but has been requested before and is certainly worth a conversation. |
I have a table on activated tab 1 And i want a tabset that changes my records at the table when it's clicked without changing the tab. If i use select() this change also the tab |
Sorry, you want your table to change when what is clicked? |
As u can see i have 3 tab. When i use select() the records from the table are changed. But the tab of "table-1" is disactivated and get blanco tab content of the last tab. I want to click on the last tab to call an expression without disabling current tab. |
One temporary way one can do this I think is using ng-click to cache the prior tab value, and use $timeout to change it after. I think @icfantv's suggestion would work for the library itself. |
In the interim, @yasinkocak, you can override the tab template and have your
And if To override the template, simply specify a I'm going to close this as a support issue but will open one to track the stoppage of the event propagation. |
* add ability for user to prevent currently selected tab's deselction by calling `$event.preventDefault()` in tab's `deselect` callback. Fixes angular-ui#5720 Addresses angular-ui#2715, angular-ui#4836, and angular-ui#5716.
* add ability for user to prevent currently selected tab's deselection by calling `$event.preventDefault()` in tab's `deselect` callback. Fixes angular-ui#5720 Addresses angular-ui#2715, angular-ui#4836, and angular-ui#5716.
I want to have a uib-tab setting
click()
that called an optional expression without change the tabcontent.There is already
select()
but this changes tab content.The text was updated successfully, but these errors were encountered: