UNPKG

@duoduo-oba/ng-devui

Version:

DevUI components based on Angular

21 lines (20 loc) 827 B
import { TemplateRef, ComponentFactoryResolver } from '@angular/core'; import { OverlayContainerRef } from '@duoduo-oba/ng-devui/overlay-container'; import { DragDropService } from '../services/drag-drop.service'; export declare class DragPreviewDirective { private componentFactoryResolver; private overlayContainerRef; private dragDropService; dragPreviewTemplate: TemplateRef<any>; dragPreviewData: any; dragPreviewOptions: { skipBatchPreview: boolean; }; previewRef: any; constructor(componentFactoryResolver: ComponentFactoryResolver, overlayContainerRef: OverlayContainerRef, dragDropService: DragDropService); createPreview(): any; updateData(): void; destroyPreview(): void; getPreviewElement(): any; private getDragSyncDOMElements; }