NgTemplateOutlet
NgTemplateOutlet
Experimental Directive
What it does
Inserts an embedded view from a prepared TemplateRef
How to use
<template [ngTemplateOutlet]="templateRefExpression" [ngOutletContext]="objectExpression"> </template>
Class Overview
class NgTemplateOutlet implements OnChanges { constructor(_viewContainerRef: ViewContainerRef) ngOutletContext ngTemplateOutlet ngOnChanges(changes: SimpleChanges) }