@recogito/text-annotator 3.4.4 → 3.4.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/dist/TextAnnotator.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ export interface TextAnnotator<I extends TextAnnotation = TextAnnotation, E exte
|
|
|
13
13
|
setAnnotatingMode(mode?: AnnotatingMode): void;
|
|
14
14
|
state: TextAnnotatorState<I, E>;
|
|
15
15
|
}
|
|
16
|
-
export type AnnotatingMode = 'CREATE_NEW' | 'ADD_TO_CURRENT';
|
|
16
|
+
export type AnnotatingMode = 'CREATE_NEW' | 'ADD_TO_CURRENT' | 'REPLACE_CURRENT';
|
|
17
17
|
export declare const createTextAnnotator: <I extends TextAnnotation = TextAnnotation, E extends unknown = TextAnnotation>(container: HTMLElement, options?: TextAnnotatorOptions<I, E>) => TextAnnotator<I, E>;
|