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

Method constructor

modules/playground/src/template_driven_forms/main.ts:81–83  ·  view source on GitHub ↗
(@Host() formDir: NgForm)

Source from the content-addressed store, hash-verified

79 errorTypes: string[] = [];
80
81 constructor(@Host() formDir: NgForm) {
82 this.formDir = formDir;
83 }
84
85 get errorMessage(): string | null {
86 const form: FormGroup = this.formDir.form;

Callers

nothing calls this directly

Calls 1

HostInterface · 0.90

Tested by

no test coverage detected