Skip to content

Can't change tab in tabs in Angular code (not triggering) #399

@austrolex

Description

@austrolex

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions