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

Method add

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

Source from the content-addressed store, hash-verified

34 f = form(signal([0]));
35
36 add() {
37 this.f().value.update((v) => [...v, v.length]);
38 }
39 }
40
41 const fix = act(() => TestBed.createComponent(ParentCmp));

Callers

nothing calls this directly

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected