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

Method realignInkBar

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

Re-aligns the ink bar to the selected tab element.

()

Source from the content-addressed store, hash-verified

441
442 /** Re-aligns the ink bar to the selected tab element. */
443 realignInkBar() {
444 if (this._tabHeader) {
445 this._tabHeader._alignInkBarToSelectedTab();
446 }
447 }
448
449 /**
450 * Recalculates the tab group's pagination dimensions.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected