angularjs - How to get the active tab In Angular Material -
i want find active tab in material , save in cookie:
var activetab = $cookiestore.get("active"); $cookiestore.put('active',$scope.selectedindex); console.log(active);
how can find active tab in angular material
here codepen example
using md-on-select="ontabchanges(tabnumber)"
can "watch" tab changes.
example in codepen: angular material selected tab
Comments
Post a Comment