Interface: ParagraphNoteAnnotation
Attach a sticky-note annotation anchored to a substring.
Properties
| Property | Modifier | Type | Description |
|---|
anchor? | readonly | "before" | "after" | Icon anchor relative to the matched text. Defaults to "before". |
contents | readonly | string | Contents of the note. |
match | readonly | string | Substring to locate in the rendered paragraph text. |
occurrence? | readonly | number | Zero-based occurrence index to annotate; defaults to every occurrence. |
open? | readonly | boolean | Whether the note pops open by default. |
size? | readonly | number | Note icon size in points. Defaults to fontSize + 4. |
tag? | readonly | "Annot" | "Artifact" | Structure tag override. |
type | readonly | "note" | - |