| 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], |