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

Method writeValue

src/material/slider/slider-input.ts:814–820  ·  view source on GitHub ↗

* Sets the input's value. * @param value The new value of the input * @docs-private

(value: any)

Source from the content-addressed store, hash-verified

812 * @docs-private
813 */
814 override writeValue(value: any): void {
815 if (this._isControlInitialized || value !== null) {
816 this.value = value;
817 this._updateWidthInactive();
818 this._updateSibling();
819 }
820 }
821
822 override _setValue(value: string) {
823 super._setValue(value);

Callers

nothing calls this directly

Calls 2

_updateWidthInactiveMethod · 0.95
_updateSiblingMethod · 0.95

Tested by

no test coverage detected