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

Class CustomInput

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

Source from the content-addressed store, hash-verified

4371
4372 it('synchronizes with a custom value control', () => {
4373 @Component({
4374 selector: 'my-input',
4375 template: '<input #i [value]="value()" (input)="value.set(i.value)" />',
4376 })
4377 class CustomInput implements FormValueControl<string> {
4378 value = model('');
4379 }
4380
4381 @Component({
4382 imports: [FormField, CustomInput],

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected