Hi how can I obtain a reference to a ngbNav ng-bootstrap component in my component class so I can select some tab programmatically? This doesnt work:
@ViewChild('nav') nav? : ElementRef<NgbNav>;
In my html template I have:
<ul ngbNav #nav="ngbNav" [(activeId)]="active" (navChange)="onNavChange($event)" class="nav-tabs">