angular-material-fileupload
Version:
A fileupload component based on angular-material design
18 lines (17 loc) • 453 B
TypeScript
import { HttpHeaders, HttpParams } from "@angular/common/http";
export interface IInput {
httpUrl: string;
httpRequestHeaders: HttpHeaders | {
[header: string]: string | string[];
};
httpRequestParams: HttpParams | {
[param: string]: string | string[];
};
fileAlias: string;
}
export interface IUploadProgress {
isLoading?: boolean;
progressPercentage?: number;
loaded?: number;
total?: number;
}