core/common/component-outlet.directive.ts
Simplified version of NgComponentOutlet
In contrast to NgComponentOutlet it allows to set the environment injector.
A PR has been raised to add that functionality in Angular.
TODO: Remove this directive once the PR is merged.
OnChanges
OnDestroy
| Selector | [c8yComponentOutlet] |
| Standalone | true |
Methods |
Inputs |
constructor(__viewContainerRef: ViewContainerRef)
|
||||||
|
Parameters :
|
| c8yComponentOutlet |
Type : Type<any> | null
|
Default value : null
|
| c8yComponentOutletEnvironmentInjector |
Type : EnvironmentInjector
|
| c8yComponentOutletInitialState |
Type : any
|
| c8yComponentOutletInjector |
Type : Injector
|
| c8yComponentOutletProviders |
Type : Type<unknown>[]
|
| ngOnChanges | ||||||
ngOnChanges(changes: SimpleChanges)
|
||||||
|
Parameters :
Returns :
void
|
| ngOnDestroy |
ngOnDestroy()
|
|
Returns :
void
|