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

Function updatePagination

src/material/tabs/paginated-tab-header.ts:388–392  ·  view source on GitHub ↗

* Updates the view whether pagination should be enabled or not. * * WARNING: Calling this method can be very costly in terms of performance. It should be called * as infrequently as possible from outside of the Tabs component as it causes a reflow of the * page.

()

Source from the content-addressed store, hash-verified

386 * page.
387 */
388 updatePagination() {
389 this._checkPaginationEnabled();
390 this._checkScrollingControls();
391 this._updateTabScrollPosition();
392 }
393
394 /** Tracks which element has focus; used for keyboard navigation */
395 get focusIndex(): number {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected