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

Method _fixValue

src/material/slider/slider-input.ts:715–718  ·  view source on GitHub ↗
(event: PointerEvent)

Source from the content-addressed store, hash-verified

713 }
714
715 override _fixValue(event: PointerEvent): void {
716 super._fixValue(event);
717 this._sibling?._updateMinMax();
718 }
719
720 override _clamp(v: number): number {
721 return Math.max(Math.min(v, this.getMaxPos()), this.getMinPos());

Callers

nothing calls this directly

Calls 2

_updateMinMaxMethod · 0.80
_fixValueMethod · 0.45

Tested by

no test coverage detected