MCPcopy Create free account
hub / github.com/angular/components / getSelectedLabel

Function getSelectedLabel

src/material/tabs/tab-group.spec.ts:1055–1057  ·  view source on GitHub ↗
(fixture: ComponentFixture<any>)

Source from the content-addressed store, hash-verified

1053 }
1054
1055 function getSelectedLabel(fixture: ComponentFixture<any>): HTMLElement {
1056 return fixture.nativeElement.querySelector('.mdc-tab--active');
1057 }
1058
1059 function getSelectedContent(fixture: ComponentFixture<any>): HTMLElement {
1060 return fixture.nativeElement.querySelector('.mat-mdc-tab-body-active');

Callers 1

tab-group.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected