Can't change tab in tabs in Angular code (not triggering)
Opened this issue · 1 comments
austrolex commented
I am trying to change tabs in my Angular code by reacting to a click event on an icon. However it doesn't work....
changeTab() {
this.tabAction.emit({action: 'tabs', params: ['select_tab', 'test3']});
}
From MaterializeCSS docs:
$(document).ready(function(){ $('ul.tabs').tabs('select_tab', 'tab_id'); });
What am I doing wrong or is this even possible?