Options
The plugin supports the following configuration options:
Property | Description | Type | Default | Version |
---|---|---|---|---|
freeText | Enable or disable the Free Text tool. When using FreeTextOption , you can customize the icon, font colors, and font sizes. | boolean | FreeTextOption | true | 1.0.0 |
highlight | Enable or disable the Highlight tool. When using HighlightOption , you can customize the icon and colors. | boolean | HighlightOption | true | 1.0.0 |
image | Enable or disable the Image tool. When using ImageOption , you can customize the icon. | boolean | ImageOption | true | 1.0.0 |
onAnnotationCreated | Triggered when a new annotation is created. Receives the created annotation data as an argument. | AnnotationCallback | undefined | 1.2.0 |
onAnnotationUpdated | Triggered when an existing annotation is modified, such as when its position, size, or content changes. | AnnotationCallback | undefined | 1.2.0 |
onAnnotationDeleted | Triggered when an annotation is removed from the document. Receives the deleted annotation data as an argument. | AnnotationCallback | undefined | 1.2.0 |
Custom Components
We are currently designing on how to make the components customizable easily. If you're looking to create a custom Annotation component, please submit a feature request via Support and Feedback section