UNPKG

@uppy/angular

Version:

Angular component wrappers around Uppy's official UI plugins.

19 lines (18 loc) 1.1 kB
import { ElementRef, OnDestroy, OnChanges, SimpleChanges } from '@angular/core'; import { Uppy } from '@uppy/core'; import type { ProgressBarOptions } from '@uppy/progress-bar'; import { Body, Meta } from '@uppy/utils/lib/UppyFile'; import { UppyAngularWrapper } from '../../utils/wrapper'; import * as i0 from "@angular/core"; export declare class ProgressBarComponent<M extends Meta, B extends Body> extends UppyAngularWrapper<M, B, ProgressBarOptions> implements OnDestroy, OnChanges { el: ElementRef<any>; uppy: Uppy<M, B>; props: ProgressBarOptions; /** Inserted by Angular inject() migration for backwards compatibility */ constructor(...args: unknown[]); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent<any, any>, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent<any, any>, "uppy-progress-bar", never, { "uppy": { "alias": "uppy"; "required": false; }; "props": { "alias": "props"; "required": false; }; }, {}, never, never, true, never>; }