API reference: @salmonui/pdf-viewer
PdfViewerAnnotationsChangeEventinterface
import type { PdfViewerAnnotationsChangeEvent } from '@salmonui/pdf-viewer';interface PdfViewerAnnotationsChangeEvent {
readonly reason: 'create' | 'remove';
readonly annotation: PdfTextMarkupAnnotation;
}
| Name | Signature | Description |
|---|---|---|
reason | readonly reason: 'create' | 'remove'; | |
annotation | readonly annotation: PdfTextMarkupAnnotation; |