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

Function scrollDistance

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

Sets the distance in pixels that the tab header should be transformed in the X-axis.

()

Source from the content-addressed store, hash-verified

472
473 /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
474 get scrollDistance(): number {
475 return this._scrollDistance;
476 }
477 set scrollDistance(value: number) {
478 this._scrollTo(value);
479 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected