Interface: CustomUIRendererConfiguration

PSPDFKit.CustomUIRendererConfiguration

This object is returned by customer's PSPDFKit.CustomUIRendererCallback functions to enhance the default appearance of a UI element.

Its main, fundamental property is node, which is the DOM node that will be appended to the container node.

Optionally it can contain an onRenderItem event handler, which is called for each item in the list.

Properties:
Name Type Attributes Description
node Node

DOM node to be appended to the container, if different from containerNode.

onRenderItem PSPDFKit.CustomUIItemRendererCallback <nullable>

Callback to be called whenever an item is rendered.