sempdf v1.9.1Interfaces
Interface: ParagraphNoteAnnotation
sempdf / ParagraphNoteAnnotation
Defined in: src/types.ts:1774
Attach a sticky-note annotation anchored to a substring.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
anchor? | readonly | "before" | "after" | Icon anchor relative to the matched text. Defaults to "before". | src/types.ts:1785 |
contents | readonly | string | Contents of the note. | src/types.ts:1781 |
match | readonly | string | Substring to locate in the rendered paragraph text. | src/types.ts:1777 |
occurrence? | readonly | number | Zero-based occurrence index to annotate; defaults to every occurrence. | src/types.ts:1779 |
open? | readonly | boolean | Whether the note pops open by default. | src/types.ts:1783 |
size? | readonly | number | Note icon size in points. Defaults to fontSize + 4. | src/types.ts:1787 |
tag? | readonly | AnnotTagOrArtifact | Structure tag override. | src/types.ts:1789 |
type | readonly | "note" | - | src/types.ts:1775 |