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

Method _updateMinNonRange

src/material/slider/slider.ts:208–221  ·  view source on GitHub ↗
(min: number)

Source from the content-addressed store, hash-verified

206 }
207
208 private _updateMinNonRange(min: number): void {
209 const input = this._getInput(_MatThumb.END);
210 if (input) {
211 const oldValue = input.value;
212
213 input.min = min;
214 input._updateThumbUIByValue();
215 this._updateTrackUI(input);
216
217 if (oldValue !== input.value) {
218 this._onValueChange(input);
219 }
220 }
221 }
222
223 /** The maximum value that the slider can have. */
224 @Input({transform: numberAttribute})

Callers 1

_updateMinMethod · 0.95

Calls 4

_getInputMethod · 0.95
_updateTrackUIMethod · 0.95
_onValueChangeMethod · 0.95
_updateThumbUIByValueMethod · 0.80

Tested by

no test coverage detected