@duoduo-oba/ng-devui
Version:
DevUI components based on Angular
13 lines (12 loc) • 674 B
TypeScript
import { ApplicationRef, Injector, ViewRef, TemplateRef, ComponentFactory, ComponentRef } from '@angular/core';
import { DocumentRef } from '@duoduo-oba/ng-devui/window-ref';
export declare class OverlayContainerRef {
private _appRef;
private documentRef;
private _injector;
constructor(_appRef: ApplicationRef, documentRef: DocumentRef, _injector: Injector);
insert(viewRef: ViewRef): ViewRef;
remove(viewRef: ViewRef): void;
createEmbeddedView<C>(templateRef: TemplateRef<any>, context?: C): ViewRef;
createComponent<C>(componentFactory: ComponentFactory<C>, injector?: Injector, projectableNodes?: any[][]): ComponentRef<C>;
}