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

Method writeValue

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

Source from the content-addressed store, hash-verified

79 private onTouchedFn?: () => void;
80
81 writeValue(newValue: string): void {
82 this.value = newValue;
83 this.writeCount++;
84 }
85
86 registerOnChange(fn: (value: string) => void): void {
87 this.onChangeFn = fn;

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected