()
| 403 | elementRef = inject(ElementRef); |
| 404 | |
| 405 | createComponent() { |
| 406 | const host = document.createElement('div'); |
| 407 | this.outlet.nativeElement.appendChild(host); |
| 408 | |
| 409 | const ref = createComponent(DynamicComponent, { |
| 410 | environmentInjector: this.envInjector, |
| 411 | hostElement: host, |
| 412 | }); |
| 413 | |
| 414 | this.appRef.attachView(ref.hostView); |
| 415 | |
| 416 | return ref; |
| 417 | } |
| 418 | } |
| 419 | |
| 420 | const applicationRef = await bootstrapApplication(App, { |
nothing calls this directly
no test coverage detected