diff --git a/packages/text-annotator/src/TextAnnotator.ts b/packages/text-annotator/src/TextAnnotator.ts index fb55f33c..2d6e2a28 100644 --- a/packages/text-annotator/src/TextAnnotator.ts +++ b/packages/text-annotator/src/TextAnnotator.ts @@ -17,6 +17,8 @@ export interface TextAnnotator extends Annot element: HTMLElement; + setStyle(style: HighlightStyleExpression | undefined): void; + // Returns true if successful (or false if the annotation is not currently rendered) scrollIntoView(annotation: TextAnnotation): boolean;