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

Class CustomInput

packages/forms/signals/test/web/dynamic_binding.spec.ts:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 describe('FormValueControl', () => {
33 it(`synchronizes value from '[formField]' binding`, async () => {
34 @Component({template: ''})
35 class CustomInput implements FormValueControl<string> {
36 readonly value = model.required<string>();
37 }
38
39 const environmentInjector = TestBed.inject(EnvironmentInjector);
40 const control = TestBed.runInInjectionContext(() => form(signal('initial value')));

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected