我想找到
active tab in material并保存在cookie中:
- var activeTab = $cookieStore.get("active");
- $cookieStore.put('active',$scope.selectedIndex);
- console.log(active);
如何在角材料中找到活动标签
这是codepen的例子
使用md-on-select =“onTabChanges(tabNumber)”,您可以“观察”标签更改.
此codepen中的示例:Angular Material Selected Tab