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

Class CustomInput

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

Source from the content-addressed store, hash-verified

4366
4367 it('synchronizes with a custom value control', () => {
4368 @Component({
4369 selector: 'my-input',
4370 template: '<input #i [value]="value()" (input)="value.set(i.value)" />',
4371 })
4372 class CustomInput implements FormValueControl<string> {
4373 value = model('');
4374 }
4375
4376 @Component({
4377 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