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

Class CustomControl

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

Source from the content-addressed store, hash-verified

147 }
148
149 @Component({
150 selector: 'custom-control',
151 template: '',
152 hostDirectives: [
153 {
154 directive: MyStateDir,
155 inputs: ['state: value'],
156 outputs: ['stateChange: valueChange'],
157 },
158 ],
159 })
160 class CustomControl {}
161
162 @Component({
163 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