Few issues with tabs
I'm dealing with few issues with tabs.
Here below a brief description:
- Removing a tab do not call
md-on-select - Dynamically changing the tab label does not update the DOM
- When async loading some tabs the ink bar does not update his length
Plus I think that you should add a method that allows to change tab via javascript.
@gio82 on the last note if you set md-selected="selectedIndex" on md-tabs you can change selectedIndex to switch between tabs.
I think the last bullet has to do with tabs not playing well with ng-if`s or dynamically adding/remove tabs see #2291
Thanks for your help @epelc !
+1
/ med vänlig hälsning Patrik Nydensten
----- Reply message ----- From: "gio82" [email protected] To: "angular/material" [email protected] Subject: [material] Few issues with tabs (#2837) Date: Wed, May 13, 2015 11:01
I'm dealing with few issues with tabs.
Here below a brief description:
Removing a tab do not call md-on-select
Dynamically changing the tab label does not update the DOM When async loading some tabs the ink bar does not update his length
Plus I think that you should add a method that allows to change tab via javascript.
— Reply to this email directly or view it on GitHub.