MCPcopy
hub / github.com/angular/angular / writeValue

Method writeValue

packages/forms/signals/test/web/interop.spec.ts:88–91  ·  view source on GitHub ↗
(newValue: string)

Source from the content-addressed store, hash-verified

86 private onTouchedFn?: () => void;
87
88 writeValue(newValue: string): void {
89 this.value = newValue;
90 this.writeCount++;
91 }
92
93 registerOnChange(fn: (value: string) => void): void {
94 this.onChangeFn = fn;

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected