• Overview
@angular/common

NgComponentOutlet

directive

Instantiates a Component type and inserts its Host View into the current View. NgComponentOutlet provides a declarative approach for dynamic component creation.

  
    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
@deprecated

This input is deprecated, use ngComponentOutletNgModule instead.

ngOnChanges

void
@paramchangesSimpleChanges
@returnsvoid

ngDoCheck

void
@returnsvoid

ngOnDestroy

void
@returnsvoid
Jump to details