pdfrx_web
    Preparing search index...

    Type Alias PdfReactContextMenuBuilder

    PdfReactContextMenuBuilder: (
        context: ContextMenuContext,
        helpers: PdfContextMenuHelpers,
    ) => HTMLElement | null | undefined

    The contextMenuBuilder prop of PdfrxProvider / PdfrxViewerApp.

    Unlike the raw ContextMenuBuilder on the viewer, this also receives the viewer and the active strings, so you can reuse buildDefaultContextMenu and add your own items. Return the menu element (the viewer positions and dismisses it) or null/undefined for no menu.

    Type Declaration