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

Method updatePagination

src/material/tabs/tab-group.ts:456–460  ·  view source on GitHub ↗

* Recalculates the tab group's pagination dimensions. * * 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

454 * page.
455 */
456 updatePagination() {
457 if (this._tabHeader) {
458 this._tabHeader.updatePagination();
459 }
460 }
461
462 /**
463 * Sets focus to a particular tab.

Callers

nothing calls this directly

Calls 1

updatePaginationMethod · 0.65

Tested by

no test coverage detected