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

Method _getValue

src/material/slider/slider.ts:559–565  ·  view source on GitHub ↗
(thumbPosition: _MatThumb = _MatThumb.END)

Source from the content-addressed store, hash-verified

557 }
558
559 private _getValue(thumbPosition: _MatThumb = _MatThumb.END): number {
560 const input = this._getInput(thumbPosition);
561 if (!input) {
562 return this.min;
563 }
564 return input.value;
565 }
566
567 private _skipUpdate(): boolean {
568 return !!(

Callers 2

Calls 1

_getInputMethod · 0.95

Tested by

no test coverage detected