Interface: AnnotationRenderConfiguration

PSPDFKit.AnnotationRenderConfiguration

This object defines the properties of a custom annotation renderer.

It's returned from a PSPDFKit.CustomRenderers.AnnotationCustomRendererCallback function.

Properties:
Name Type Attributes Default Description
node Node

DOM node to be rendered.

append boolean <nullable>
false

Wether the DOM node should be appended after the annotation, or replace it.

noZoom boolean <nullable>
false

Wether to automatically zoom the DOM node as the current PSPDFKit.ViewState#zoomLevel changes.

onDisappear function <nullable>

Callback to be called whenever the custom DOM node is unmounted.