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

Class CustomCheckbox

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

Source from the content-addressed store, hash-verified

102 describe('FormCheckboxControl', () => {
103 it(`synchronizes value from '[formField]' binding`, async () => {
104 @Component({template: ''})
105 class CustomCheckbox implements FormCheckboxControl {
106 readonly checked = model.required<boolean>();
107 }
108
109 const environmentInjector = TestBed.inject(EnvironmentInjector);
110 const control = TestBed.runInInjectionContext(() => form(signal(true)));

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected