ngx-dynamic-compiler
Version:
20 lines (19 loc) • 732 B
TypeScript
import { OnInit, ViewContainerRef, ComponentRef, Compiler, ComponentFactory, OnChanges, EventEmitter } from '@angular/core';
export declare class NgxDynamicCompilerComponent implements OnInit, OnChanges {
private compiler;
container: ViewContainerRef;
id: null;
Data: any;
Template: string;
Output: EventEmitter<any>;
html: any;
returnUrl: string;
showFilter: boolean;
componentRef: ComponentRef<any>;
constructor(compiler: Compiler);
ngOnInit(): void;
ngOnChanges(): void;
compileTemplate(data: any): void;
createComponentFactorySync(compiler: Compiler, metadata: any, componentClass: any, data: any): ComponentFactory<any>;
ngOnDestroy(): void;
}