@angay/pdf-upload
Version:
Angular library for uploading and handling PDF files
23 lines (22 loc) • 857 B
TypeScript
import { OnInit } from '@angular/core';
import { PdfUploadService } from './pdf-upload.service';
import * as i0 from "@angular/core";
export declare class PdfUploadComponent implements OnInit {
private cropperService;
isVisible: boolean;
imageErr: string;
pdfFile: File | null;
constructor(cropperService: PdfUploadService);
ngOnInit(): void;
fileChangeEvent(event: Event): void;
onFileSelect(file: File): void;
previewPdf(): void;
removePdf(): void;
onSavePdf(): void;
closeModal(): void;
onDragOver(event: DragEvent): void;
onDragLeave(event: DragEvent): void;
onDrop(event: DragEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PdfUploadComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PdfUploadComponent, "angay-pdf-modal", never, {}, {}, never, never, true, never>;
}