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

Method constructor

packages/forms/signals/test/web/interop.spec.ts:407–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405 })
406 class CustomControl implements ControlValueAccessor {
407 constructor() {
408 inject(NgControl).valueAccessor = this;
409 }
410
411 value = '';
412 private onChangeFn?: (value: string) => void;

Callers

nothing calls this directly

Calls 1

injectFunction · 0.90

Tested by

no test coverage detected