Hi there
I need to change my tab programatically.
According to the documentation
this can be done by calling the select()
on the tabs instance.
I get the error however that select does not exist on type Tabs
@ViewChild('myTabs') tabRef: Tabs;
changeSlectedIndex(): void {
this.tabRef.select(2)//red squiggly explaining does not exist on type Tabs
}
Am I missing something?
Thank you