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

Class CustomCheckbox

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

Source from the content-addressed store, hash-verified

100 describe('FormCheckboxControl', () => {
101 it(`synchronizes value from '[formField]' binding`, () => {
102 @Component({template: ''})
103 class CustomCheckbox implements FormCheckboxControl {
104 readonly checked = model.required<boolean>();
105 }
106
107 const environmentInjector = TestBed.inject(EnvironmentInjector);
108 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…