Skip to content

Commit

Permalink
Merge pull request recogito#83 from oleksandr-danylchenko/fix-text-an…
Browse files Browse the repository at this point in the history
…no-methods-override-types

Added text-specific `setStyle` override
  • Loading branch information
rsimon committed Apr 4, 2024
2 parents 263a67e + 7278776 commit 1dbda37
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 1dbda37

Please sign in to comment.