File

core/common/component-outlet.directive.ts

Description

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.

Implements

OnChanges OnDestroy

Metadata

Index

Methods
Inputs

Constructor

constructor(__viewContainerRef: ViewContainerRef)
Parameters :
Name Type Optional
__viewContainerRef ViewContainerRef No

Inputs

c8yComponentOutlet
Type : Type<any> | null
Default value : null
c8yComponentOutletEnvironmentInjector
Type : EnvironmentInjector
c8yComponentOutletInjector
Type : Injector

Methods

ngOnChanges
ngOnChanges(changes: SimpleChanges)
Parameters :
Name Type Optional
changes SimpleChanges No
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void

results matching ""

    No results matching ""