UNPKG

@duoduo-oba/ng-devui

Version:

DevUI components based on Angular

10 lines (9 loc) 705 B
import { ComponentFactoryResolver } from '@angular/core'; import { OverlayContainerRef } from '@duoduo-oba/ng-devui/overlay-container'; import { IDrawerOpenResult, IDrawerOptions } from './drawer.types'; export declare class DrawerService { private overlayContainerRef; private componentFactoryResolver; constructor(overlayContainerRef: OverlayContainerRef, componentFactoryResolver: ComponentFactoryResolver); open({ drawerContentComponent, injector, componentFactoryResolver, id, width, fullScreen, data, isCover, clickDoms, onClose, afterOpened, backdropCloseable, escKeyCloseable, beforeHidden, destroyOnHide, position, bodyScrollable }: IDrawerOptions): IDrawerOpenResult; }