ngx-uploadx
Version:
Angular Resumable Upload Module
21 lines (20 loc) • 1.14 kB
TypeScript
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
import { OnInit } from '@angular/core';
import { UploadState, UploadxControlEvent } from './interfaces';
import { UploadxOptions } from './options';
import { UploadxService } from './uploadx.service';
import * as i0 from "@angular/core";
export declare class UploadxDirective implements OnInit {
private elementRef;
private renderer;
private uploadService;
set uploadx(value: UploadxOptions | '');
options: UploadxOptions;
set control(value: UploadxControlEvent | '');
state: EventEmitter<UploadState>;
constructor(elementRef: ElementRef, renderer: Renderer2, uploadService: UploadxService);
ngOnInit(): void;
fileListener(files?: FileList | File[]): void;
static ɵfac: i0.ɵɵFactoryDeclaration<UploadxDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<UploadxDirective, "[uploadx]", never, { "uploadx": { "alias": "uploadx"; "required": false; }; "options": { "alias": "options"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "state": "state"; }, never, never, true, never>;
}