@trendster-io/ng-uploader
Version:
A fully featured Angular file uploader that utilizes Angular's HttpClient internally, allows you to customize outgoing HTTP requests using the "Angular Way" (Interceptors), provides customizable concurrent queuing of uploads and a simple way to select fil
13 lines (12 loc) • 400 B
TypeScript
import { EventEmitter } from '@angular/core';
export declare class DropzoneDirective {
preventBodyDrop: boolean;
disabled: boolean;
fileDrop: EventEmitter<File[]>;
active: boolean;
onDrop(event: DragEvent): void;
onDragOver(event: DragEvent): void;
onDragLeave(event: DragEvent): void;
onBodyDragOver(event: DragEvent): void;
onBodyDrop(event: DragEvent): void;
}