projects/angular-material-fileupload/src/lib/mat-file-upload.type.ts
Properties |
fileAlias |
fileAlias:
|
Type : string
|
httpRequestHeaders |
httpRequestHeaders:
|
Type : HttpHeaders | literal type
|
httpRequestParams |
httpRequestParams:
|
Type : HttpParams | literal type
|
httpUrl |
httpUrl:
|
Type : string
|
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;
}