UNPKG

@ngx-file-upload/ui

Version:

Angular 16 file upload components for @ngx-file-upload/core

16 lines (15 loc) 634 B
import { PipeTransform } from "@angular/core"; import { NgxFileUploadState } from "@ngx-file-upload/core"; import * as i0 from "@angular/core"; /** * converts upload state to string value * * @example * <span>{{upload.state | stateToString}}</span> * // prints one of these idle, pending, progress, completed, start, invalid, canceled */ export declare class StateToStringPipe implements PipeTransform { transform(state: NgxFileUploadState): string; static ɵfac: i0.ɵɵFactoryDeclaration<StateToStringPipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<StateToStringPipe, "stateToString", false>; }