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