import { ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; export declare class CfDynamicComponentLoaderComponent { private resolver; currentComponent: any; dynamicComponentContainer: ViewContainerRef; /** *
Data for the dynamically loaded component.
*data.component: Component name
*data.inputs: Component input parameters
*data.loadedInstance: reference to ComponentRef of the current component instance * - NOT to pass - it's set by dynalic loader after loading component and can be used to destroy component
*data.id: component ID - to pass if you want it to be set for the specific value, i.e. for ID from storage
*/ componentData: { component: any; inputs: any; loadedInstance: any; id: string; }; constructor(resolver: ComponentFactoryResolver); }