UNPKG

@uppy/angular

Version:

Angular component wrappers around Uppy's official UI plugins.

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