MCPcopy Index your code
hub / github.com/angular/components / _updateMaxNonRange

Method _updateMaxNonRange

src/material/slider/slider.ts:270–283  ·  view source on GitHub ↗
(max: number)

Source from the content-addressed store, hash-verified

268 }
269
270 private _updateMaxNonRange(max: number): void {
271 const input = this._getInput(_MatThumb.END);
272 if (input) {
273 const oldValue = input.value;
274
275 input.max = max;
276 input._updateThumbUIByValue();
277 this._updateTrackUI(input);
278
279 if (oldValue !== input.value) {
280 this._onValueChange(input);
281 }
282 }
283 }
284
285 /** The values at which the thumb will snap. */
286 @Input({transform: numberAttribute})

Callers 1

_updateMaxMethod · 0.95

Calls 4

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

Tested by

no test coverage detected