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

Class CustomCheckbox

packages/forms/signals/test/web/form_field.spec.ts:4527–4534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4525
4526 it('synchronizes with a custom checkbox control', () => {
4527 @Component({
4528 selector: 'my-checkbox',
4529 template:
4530 '<input type="checkbox" #i [checked]="checked()" (input)="checked.set(i.checked)" />',
4531 })
4532 class CustomCheckbox implements FormCheckboxControl {
4533 checked = model(false);
4534 }
4535
4536 @Component({
4537 imports: [FormField, CustomCheckbox],

Callers

nothing calls this directly

Calls 5

ComponentInterface · 0.90
outputFunction · 0.90
InputInterface · 0.90
OutputInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…