NgComponentOutlet
directive
Instantiates a Component
type and inserts its Host View into the current View.
NgComponentOutlet
provides a declarative approach for dynamic component creation.
API
Description
Usage Notes
class NgComponentOutlet implements OnChanges ,DoCheck ,OnDestroy {}
ngComponentOutlet
Type<any> | null
ngComponentOutletInputs
Record<string, unknown> | undefined
ngComponentOutletInjector
Injector | undefined
ngComponentOutletContent
any[][] | undefined
ngComponentOutletNgModule
Type<any> | undefined
ngComponentOutletNgModuleFactory
NgModuleFactory<any> | undefined
ngOnChanges
void
@returns
void
ngDoCheck
void
@returns
void
ngOnDestroy
void
@returns
void
Jump to details