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

Method _updateStepNonRange

src/material/slider/slider.ts:343–359  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341 }
342
343 private _updateStepNonRange(): void {
344 const input = this._getInput(_MatThumb.END);
345 if (input) {
346 const oldValue = input.value;
347
348 input.step = this._step;
349 if (this._platform.SAFARI) {
350 input.value = input.value;
351 }
352
353 input._updateThumbUIByValue();
354
355 if (oldValue !== input.value) {
356 this._onValueChange(input);
357 }
358 }
359 }
360
361 /**
362 * Function that will be used to format the value before it is displayed

Callers 1

_updateStepMethod · 0.95

Calls 3

_getInputMethod · 0.95
_onValueChangeMethod · 0.95
_updateThumbUIByValueMethod · 0.80

Tested by

no test coverage detected