# PdfViewerAnnotationsChangeEvent (@salmonui/pdf-viewer)

> The PdfViewerAnnotationsChangeEvent interface of @salmonui/pdf-viewer.

Canonical: https://salmonui.dev/docs/reference/pdf-viewer/PdfViewerAnnotationsChangeEvent

```ts
import type { PdfViewerAnnotationsChangeEvent } from '@salmonui/pdf-viewer';
```

Entry index: https://salmonui.dev/docs/reference/pdf-viewer (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/pdf-viewer.md).

## Reference

Kind: interface

```ts
interface PdfViewerAnnotationsChangeEvent {
    readonly reason: 'create' | 'remove';
    readonly annotation: PdfTextMarkupAnnotation;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `reason` | `readonly reason: 'create' \| 'remove';` |  |  |
| `annotation` | `readonly annotation: PdfTextMarkupAnnotation;` |  |  |
