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

Method getViewLength

src/material/tabs/tab-header.spec.ts:747–749  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

745 }
746
747 getViewLength() {
748 return this.tabHeader._tabListContainer.nativeElement.offsetWidth;
749 }
750
751 getSelectedLabel(index: number) {
752 return this.tabHeader._items.toArray()[this.tabHeader.focusIndex].elementRef.nativeElement;

Callers 1

tab-header.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected