MCPcopy
hub / github.com/angular/angular / constructor

Method constructor

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

Source from the content-addressed store, hash-verified

412 })
413 class CustomControl implements ControlValueAccessor {
414 constructor() {
415 inject(NgControl).valueAccessor = this;
416 }
417
418 value = '';
419 private onChangeFn?: (value: string) => void;

Callers

nothing calls this directly

Calls 1

injectFunction · 0.90

Tested by

no test coverage detected