1 | import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
2 | import { UploadOutput, UploadInput, UploaderOptions } from './interfaces';
|
3 | import { NgUploaderService } from './ngx-uploader.class';
|
4 | import { Subscription } from 'rxjs';
|
5 | export declare class NgFileDropDirective implements OnInit, OnDestroy {
|
6 | elementRef: ElementRef;
|
7 | options: UploaderOptions;
|
8 | uploadInput: EventEmitter<UploadInput>;
|
9 | uploadOutput: EventEmitter<UploadOutput>;
|
10 | upload: NgUploaderService;
|
11 | el: HTMLInputElement;
|
12 | _sub: Subscription[];
|
13 | constructor(elementRef: ElementRef);
|
14 | ngOnInit(): void;
|
15 | ngOnDestroy(): void;
|
16 | stopEvent: (e: Event) => void;
|
17 | onDrop(e: any): void;
|
18 | onDragOver(e: Event): void;
|
19 | onDragLeave(e: Event): void;
|
20 | }
|