View as Markdown

API reference: @salmonui/pdf-viewer

PdfViewerAnnotationsChangeEventinterface

import type { PdfViewerAnnotationsChangeEvent } from '@salmonui/pdf-viewer';
interface PdfViewerAnnotationsChangeEvent {
    readonly reason: 'create' | 'remove';
    readonly annotation: PdfTextMarkupAnnotation;
}
PdfViewerAnnotationsChangeEvent members (2)
NameSignatureDescription
reasonreadonly reason: 'create' | 'remove';
annotationreadonly annotation: PdfTextMarkupAnnotation;