UNPKG

651 BTypeScriptView Raw
1import { ElementRef, EventEmitter, OnInit, OnDestroy } from '@angular/core';
2import { UploadOutput, UploaderOptions } from './interfaces';
3import { NgUploaderService } from './ngx-uploader.class';
4import { Subscription } from 'rxjs';
5export declare class NgFileSelectDirective implements OnInit, OnDestroy {
6 elementRef: ElementRef;
7 options: UploaderOptions;
8 uploadInput: EventEmitter<any>;
9 uploadOutput: EventEmitter<UploadOutput>;
10 upload: NgUploaderService;
11 el: HTMLInputElement;
12 _sub: Subscription[];
13 constructor(elementRef: ElementRef);
14 ngOnInit(): void;
15 ngOnDestroy(): void;
16 fileListener: () => void;
17}