@annotorious/openseadragon 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,17 @@
1
+ ![Aerial view of Schönbrunn Palace in Vienna annotated with Annotorious](https://raw.githubusercontent.com/annotorious/annotorious/main/images/splash-image.jpg "Aerial view of Schönbrunn Palace in Vienna annotated with Annotorious")
2
+
1
3
  # @annotorious/openseadragon
2
4
 
3
- Annotorious for [OpenSeadragon](https://openseadragon.github.io/).
5
+ Add image annotation functionality to any web page with a few lines of JavaScript. Visit the
6
+ [project website](https://annotorious.dev) for documentation and live demos.
7
+
8
+ ## Community
9
+
10
+ Visit the [Discussion Forum](https://github.com/annotorious/annotorious/discussions) for community support, or file an
11
+ issue on the [Issue Tracker](https://github.com/annotorious/annotorious/issues).
12
+
13
+ ## Become a Sponsor
14
+
15
+ Using Annotorious at work? Become a sponsor! Your support helps me cover hosting costs, spend more
16
+ time supporting the community, and make Annotorious better for everyone. [Make a one-time or monthly
17
+ donation via my SteadyHQ account](https://steadyhq.com/rainer-simon).
@@ -5,6 +5,9 @@ import { AnnotoriousOpts, DrawingTool, DrawingToolOpts, ImageAnnotation, ShapeTy
5
5
  import { FitboundsOptions } from './api';
6
6
  export interface OpenSeadragonAnnotator<I extends Annotation = ImageAnnotation, E extends unknown = ImageAnnotation> extends Annotator<I, E> {
7
7
  viewer: OpenSeadragon.Viewer;
8
+ cancelDrawing(): void;
9
+ getDrawingTool(): string | undefined;
10
+ isDrawingEnabled(): boolean;
8
11
  fitBounds(arg: {
9
12
  id: string;
10
13
  } | string, opts?: FitboundsOptions): void;