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

Method getMinPos

src/material/slider/slider-input.ts:631–637  ·  view source on GitHub ↗

* Returns the minimum translateX position allowed for this slider input's visual thumb. * @docs-private

()

Source from the content-addressed store, hash-verified

629 * @docs-private
630 */
631 getMinPos(): number {
632 const sibling = this.getSibling();
633 if (!this._isLeftThumb && sibling) {
634 return sibling.translateX;
635 }
636 return this._tickMarkOffset;
637 }
638
639 /**
640 * Returns the maximum translateX position allowed for this slider input's visual thumb.

Callers 1

_clampMethod · 0.95

Calls 1

getSiblingMethod · 0.95

Tested by

no test coverage detected