ngx-dropzone-next
Version:
A highly configurable dropzone component for Angular.
16 lines (15 loc) • 996 B
TypeScript
import { type OnChanges, type SimpleChanges } from '@angular/core';
import { NgxDropzonePreviewComponent } from '../ngx-dropzone-preview.component';
import * as i0 from "@angular/core";
export declare class NgxDropzoneImagePreviewComponent extends NgxDropzonePreviewComponent implements OnChanges {
/** The image data source. */
private defaultImgLoading;
protected imageSrc: import("@angular/core").WritableSignal<import("@angular/platform-browser").SafeUrl>;
/** The file to preview. */
readonly file: import("@angular/core").InputSignal<File | undefined>;
constructor();
ngOnChanges(changes: SimpleChanges): void;
private renderImage;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDropzoneImagePreviewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxDropzoneImagePreviewComponent, "ngx-dropzone-image-preview", never, { "file": { "alias": "file"; "required": false; "isSignal": true; }; }, {}, never, ["ngx-dropzone-label"], true, never>;
}