ngx-uploadx
Version:
Angular Resumable Upload Module
20 lines (19 loc) • 823 B
TypeScript
import { UploadxDirective } from './uploadx.directive';
import { UploadxService } from './uploadx.service';
import * as i0 from "@angular/core";
export declare class UploadxDropDirective {
private uploadService;
active: boolean;
fileInput?: UploadxDirective;
constructor(uploadService: UploadxService);
dropHandler(event: DragEvent): void;
onDragOver(event: DragEvent): void;
onDragLeave(event: DragEvent): void;
/**
* Extracts the files from a `DragEvent` object
*/
getFiles(event: DragEvent): FileList | File[];
protected _stopEvents(event: DragEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<UploadxDropDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<UploadxDropDirective, "[uploadxDrop]", never, {}, {}, ["fileInput"], never, true, never>;
}