Skip to content

React API

React-specific API documentation for Annota.

HookDescription
useAnnotatorAccess the annotator instance
useAnnotationsGet all annotations
useSelectionGet selected annotations
useToolActivate annotation tools
useHistoryAccess undo/redo history
useLayersGet all layers
useLayerManagerManage layers
ComponentDescription
AnnotaProviderProvides annotation context
AnnotaViewerOpenSeadragon viewer wrapper
AnnotatorAnnotation overlay layer
AnnotationPopupDisplay annotation information
ContextMenuContext menu for annotations