Skip to main content

Interface: TextSpanTarget

Defined in: src/types/models/annotation.ts:195

Combined text span target using W3C SpecificResource pattern.

Remarks​

Combines TextQuoteSelector (for resilience) with TextPositionSelector (for precise highlighting) to maximize the chances of finding the annotated text across document changes.

Properties​

refinedBy?​

readonly optional refinedBy: TextPositionSelector

Defined in: src/types/models/annotation.ts:201

Optional position selector for precise highlighting


selector​

readonly selector: TextQuoteSelector

Defined in: src/types/models/annotation.ts:199

Primary selector using text quote matching


source​

readonly source: AtUri

Defined in: src/types/models/annotation.ts:197

AT-URI of the eprint being annotated