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

Class CustomInput

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

Source from the content-addressed store, hash-verified

4299
4300 it('synchronizes with a custom value control', () => {
4301 @Component({
4302 selector: 'my-input',
4303 template: '<input #i [value]="value()" (input)="value.set(i.value)" />',
4304 })
4305 class CustomInput implements FormValueControl<string> {
4306 value = model('');
4307 }
4308
4309 @Component({
4310 imports: [FormField, CustomInput],

Callers

nothing calls this directly

Calls 7

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

Tested by

no test coverage detected