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

Method getMinPos

src/material/slider/slider-input.ts:630–636  ·  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

628 * @docs-private
629 */
630 getMinPos(): number {
631 const sibling = this.getSibling();
632 if (!this._isLeftThumb && sibling) {
633 return sibling.translateX;
634 }
635 return this._tickMarkOffset;
636 }
637
638 /**
639 * 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