| 1159 | class MyCompBroken0 {} |
| 1160 | |
| 1161 | @Component({ |
| 1162 | selector: 'manual-projecting', |
| 1163 | template: '<div #vc></div>', |
| 1164 | standalone: false, |
| 1165 | }) |
| 1166 | class ManualProjecting { |
| 1167 | @ContentChild(TemplateRef, {static: true}) template!: TemplateRef<any>; |
| 1168 | @ViewChild('vc', {read: ViewContainerRef}) vc!: ViewContainerRef; |
| 1169 | @ContentChildren(TextDirective) query!: QueryList<TextDirective>; |
| 1170 | |
| 1171 | create() { |
| 1172 | this.vc.createEmbeddedView(this.template); |
| 1173 | } |
| 1174 | |
| 1175 | destroy() { |
| 1176 | this.vc.clear(); |
| 1177 | } |
| 1178 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…