Svelte API
Svelte-specific API documentation for Annota.
Svelte Stores
Section titled “Svelte Stores”| Store | Description |
|---|---|
| getAnnotator | Access the annotator instance |
| annotations | Get all annotations |
| selection | Get selected annotations |
| tool | Activate annotation tools |
| history | Access undo/redo history |
| layers | Get all layers |
| layerManager | Manage layers |
| viewer | Viewer utilities |
Svelte Components
Section titled “Svelte Components”| Component | Description |
|---|---|
| AnnotaProvider | Provides annotation context |
| Viewer | OpenSeadragon viewer wrapper |
| Annotator | Annotation overlay layer |
| Popup | Display annotation information |
| ContextMenu | Context menu for annotations |