MCPcopy Index your code
hub / github.com/angular/angular / CustomInput

Class CustomInput

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

Source from the content-addressed store, hash-verified

30 describe('FormValueControl', () => {
31 it(`synchronizes value from '[formField]' binding`, () => {
32 @Component({template: ''})
33 class CustomInput implements FormValueControl<string> {
34 readonly value = model.required<string>();
35 }
36
37 const environmentInjector = TestBed.inject(EnvironmentInjector);
38 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