@omnia/foundation
Version:
Provide omnia foundation typings and tooling work on client side for omnia extension
17 lines (16 loc) • 623 B
TypeScript
import { OnInit, OnDestroy, OnChanges, EventEmitter, ViewContainerRef, ComponentFactoryResolver } from '@angular/core';
export declare class ComponentLoader implements OnInit, OnChanges, OnDestroy {
private viewContainerRef;
private resolver;
context: any;
component: any;
isRefresh: boolean;
onLoaded: EventEmitter<boolean>;
private initialized;
private componentRef;
constructor(viewContainerRef: ViewContainerRef, resolver: ComponentFactoryResolver);
loadComponent: () => void;
ngOnInit(): void;
ngOnChanges(changes: any): void;
ngOnDestroy(): void;
}