Skip to content

Commit

Permalink
Added text-specific setStyle override
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-danylchenko committed Apr 4, 2024
1 parent 263a67e commit 7278776
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/text-annotator/src/TextAnnotator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export interface TextAnnotator<E extends unknown = TextAnnotation> 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;

Expand Down

0 comments on commit 7278776

Please sign in to comment.