sempdf
sempdf v1.9.1Interfaces

Interface: ParagraphNoteAnnotation

sempdf v1.9.1


sempdf / ParagraphNoteAnnotation

Defined in: src/types.ts:1774

Attach a sticky-note annotation anchored to a substring.

Properties

PropertyModifierTypeDescriptionDefined in
anchor?readonly"before" | "after"Icon anchor relative to the matched text. Defaults to "before".src/types.ts:1785
contentsreadonlystringContents of the note.src/types.ts:1781
matchreadonlystringSubstring to locate in the rendered paragraph text.src/types.ts:1777
occurrence?readonlynumberZero-based occurrence index to annotate; defaults to every occurrence.src/types.ts:1779
open?readonlybooleanWhether the note pops open by default.src/types.ts:1783
size?readonlynumberNote icon size in points. Defaults to fontSize + 4.src/types.ts:1787
tag?readonlyAnnotTagOrArtifactStructure tag override.src/types.ts:1789
typereadonly"note"-src/types.ts:1775

On this page