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

Method value

src/material/progress-bar/progress-bar.ts:160–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158 /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */
159 @Input({transform: numberAttribute})
160 get value(): number {
161 return this._value;
162 }
163 set value(v: number) {
164 this._value = clamp(v || 0);
165 this._changeDetectorRef.markForCheck();

Callers

nothing calls this directly

Calls 2

markForCheckMethod · 0.80
clampFunction · 0.70

Tested by

no test coverage detected