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

Class CustomControl

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

Source from the content-addressed store, hash-verified

178 }
179
180 @Component({
181 selector: 'custom-control',
182 template: '',
183 hostDirectives: [
184 {
185 directive: MyStateDir,
186 inputs: ['state: value'],
187 outputs: ['stateChange: valueChange'],
188 },
189 ],
190 })
191 class CustomControl {}
192
193 @Component({
194 imports: [FormField, CustomControl],

Callers

nothing calls this directly

Calls 6

ComponentInterface · 0.90
injectFunction · 0.90
transformedValueFunction · 0.85
isArrayMethod · 0.80
toStringMethod · 0.65
requiredMethod · 0.45

Tested by

no test coverage detected