angularjs – 如何在Angular Material中获取活动选项卡
发布时间:2020-12-17 07:28:55 所属栏目:安全 来源:网络整理
导读:我想找到 active tab in material并保存在cookie中: var activeTab = $cookieStore.get("active");$cookieStore.put('active',$scope.selectedIndex);console.log(active); 如何在角材料中找到活动标签 这是codepen的例子 使用md-on-select =“onTabChanges
我想找到
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 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |