| 3277 | standalone: false, |
| 3278 | }) |
| 3279 | export class StructDir { |
| 3280 | constructor( |
| 3281 | private vcref: ViewContainerRef, |
| 3282 | private tplRef: TemplateRef<any>, |
| 3283 | ) {} |
| 3284 | |
| 3285 | create() { |
| 3286 | this.vcref.createEmbeddedView(this.tplRef); |
| 3287 | } |
| 3288 | |
| 3289 | destroy() { |
| 3290 | this.vcref.clear(); |
| 3291 | } |
| 3292 | } |
| 3293 | |
| 3294 | @Component({ |
| 3295 | selector: 'destroy-cases', |
nothing calls this directly
no outgoing calls
no test coverage detected