• Overview
@angular/common

NgTemplateOutlet

directive

Inserts an embedded view from a prepared TemplateRef.

  
    class NgTemplateOutlet<C = unknown> implements OnChanges {}
  
  

ngTemplateOutletContext

C | null

A context object to attach to the EmbeddedViewRef. This should be an object, the object's keys will be available for binding by the local template let declarations. Using the key $implicit in the context object will set its value as default.

ngTemplateOutlet

TemplateRef<C> | null

A string defining the template reference and optionally the context object for the template.

ngTemplateOutletInjector

Injector | null

Injector to be used within the embedded view.

ngOnChanges

void
@paramchangesSimpleChanges
@returnsvoid
Jump to details