@vue-pdf-viewer/viewer
Version:
The PDF Viewer component for Vue 3 and Nuxt
6 lines (5 loc) • 396 B
TypeScript
import type { PDFDocumentProxy } from 'pdfjs-dist';
import type { AnnotationEventPayload } from '@/utils/types';
declare const EVENTS_TO_HANDLER: string[];
declare function annotationEventsHandler(evt: Event, PDFDoc: PDFDocumentProxy, Annotations: Object[]): AnnotationEventPayload | Promise<AnnotationEventPayload | undefined> | undefined;
export { EVENTS_TO_HANDLER, annotationEventsHandler };