UNPKG

@ngx-file-upload/ui

Version:

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

16 lines (15 loc) 652 B
import { PipeTransform } from "@angular/core"; import { NgxFileUploadState } from "@ngx-file-upload/core"; import * as i0 from "@angular/core"; /** * returns true if an upload could be canceled * an upload could canceled if state is one of these: PENDING, START or PROGRESS * * @example * <button [disabled]="!(upload.data.state | isCancelAble)">cancel</button> */ export declare class CancelAblePipe implements PipeTransform { transform(state: NgxFileUploadState): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<CancelAblePipe, never>; static ɵpipe: i0.ɵɵPipeDeclaration<CancelAblePipe, "isCancelAble", false>; }