@duoduo-oba/ng-devui
Version:
DevUI components based on Angular
16 lines (15 loc) • 540 B
TypeScript
import { EventEmitter, ElementRef } from '@angular/core';
export declare class FileDropDirective {
enableDrop: boolean;
isSingle: boolean;
fileOver: EventEmitter<any>;
fileDrop: EventEmitter<File[]>;
protected element: ElementRef;
constructor(element: ElementRef);
onDrop(event: any): void;
onDragOver(event: any): void;
onDragLeave(event: any): any;
protected _getTransfer(event: any): any;
protected _preventAndStop(event: any): any;
protected _haveFiles(types: any): any;
}