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

Method _onInput

src/material/slider/slider-input.ts:361–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359 }
360
361 _onInput(): void {
362 this._onChangeFn?.(this.value);
363 // handles arrowing and updating the value when
364 // a step is defined.
365 if (this._slider.step || !this._isActive) {
366 this._updateThumbUIByValue({withAnimation: true});
367 }
368 this._slider._onValueChange(this);
369 }
370
371 _onNgControlValueChange(): void {
372 // only used to handle when the value change

Callers 1

_onInputMethod · 0.45

Calls 2

_updateThumbUIByValueMethod · 0.95
_onValueChangeMethod · 0.80

Tested by

no test coverage detected