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

Method add

packages/forms/signals/test/web/field_proxy.spec.ts:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 f = form(signal([0]));
48
49 add() {
50 this.f().value.update((v) => [...v, v.length]);
51 }
52 }
53
54 const fix = act(() => TestBed.createComponent(ParentCmp));

Callers

nothing calls this directly

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected