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

Function realign

src/material/tabs/paginated-tab-header.ts:220–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218 const viewportResize = this._viewportRuler.change(150).pipe(takeUntil(this._destroyed));
219
220 const realign = () => {
221 this.updatePagination();
222 this._alignInkBarToSelectedTab();
223 };
224
225 this._keyManager = new FocusKeyManager<MatPaginatedTabHeaderItem>(this._items)
226 .withHorizontalOrientation(this._getLayoutDirection())

Callers 1

ngAfterContentInitFunction · 0.85

Calls 2

updatePaginationMethod · 0.65

Tested by

no test coverage detected