@annotorious/openseadragon 3.0.5 → 3.0.7
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 +15 -1
- package/dist/Annotorious.d.ts +3 -0
- package/dist/annotorious-openseadragon.es.js +3363 -3316
- package/dist/annotorious-openseadragon.es.js.map +1 -1
- package/dist/annotorious-openseadragon.js +57 -57
- package/dist/annotorious-openseadragon.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
# @annotorious/openseadragon
|
|
2
4
|
|
|
3
|
-
|
|
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).
|
package/dist/Annotorious.d.ts
CHANGED
|
@@ -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;
|