/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core'; /** * @ngModule CommonModule * * @whatItDoes Inserts an embedded view from a prepared `TemplateRef` * * @howToUse * ``` * * ``` * * @description * * You can attach a context object to the `EmbeddedViewRef` by setting `[ngTemplateOutletContext]`. * `[ngTemplateOutletContext]` should be an object, the object's keys will be available for binding * by the local template `let` declarations. * * Note: using the key `$implicit` in the context object will set it's value as default. * * ## Example * * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'} * * @experimental */ export declare class NgTemplateOutlet implements OnChanges { private _viewContainerRef; private _viewRef; ngTemplateOutletContext: Object; ngTemplateOutlet: TemplateRef; constructor(_viewContainerRef: ViewContainerRef); /** * @deprecated v4.0.0 - Renamed to ngTemplateOutletContext. */ ngOutletContext: Object; ngOnChanges(changes: SimpleChanges): void; }