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

Method _updateStep

src/material/slider/slider.ts:298–302  ·  view source on GitHub ↗
(step: number)

Source from the content-addressed store, hash-verified

296 private _step: number = 1;
297
298 private _updateStep(step: number): void {
299 this._step = step;
300 this._isRange ? this._updateStepRange() : this._updateStepNonRange();
301 this._onMinMaxOrStepChange();
302 }
303
304 private _updateStepRange(): void {
305 const endInput = this._getInput(_MatThumb.END) as _MatSliderRangeThumb;

Callers 1

stepMethod · 0.95

Calls 3

_updateStepRangeMethod · 0.95
_updateStepNonRangeMethod · 0.95
_onMinMaxOrStepChangeMethod · 0.95

Tested by

no test coverage detected