@ngneat/overview
Version:
The Template for Success in Template Management
21 lines (20 loc) • 597 B
TypeScript
import { ApplicationRef, EmbeddedViewRef, Injector, TemplateRef, ViewContainerRef } from '@angular/core';
import { ViewRef } from './types';
interface Args<C> {
tpl: TemplateRef<C>;
context: C;
vcr: ViewContainerRef | undefined;
appRef: ApplicationRef | undefined;
injector: Injector | undefined;
}
export declare class TplRef<C> implements ViewRef {
private args;
ref: EmbeddedViewRef<{}>;
private element;
constructor(args: Args<C>);
detectChanges(): this;
getElement(): Element;
destroy(): void;
updateContext(context: C): this;
}
export {};