Open
Description
The docs do not provide any explanation of how to access this method. Tried checking other methods that I have used but nothing works.
<nav mat-tab-nav-bar #tabs>
<a mat-tab-link *ngFor="let link of links"
(click)="activelink = link.identifier"
[active]="activelink === link.identifier"
[routerLink]="[ './', link.identifier ]"
>{{ link.title }}</a>
</nav>
Is this this correct?
@ViewChild( 'tabs' ) tabs: MatTabNav;
Even tried this:
@ViewChild( 'MatTabNav' ) tabs: MatTabNav;
I feel like I am missing something important
this.whatshouldthisbe.updateActiveLink( '#tabs' )
As a side note, many other times I feel the source code makes far more sense than the docs do. Do I need to fully understand the source in order to make sense of the docs?