Builds the context menu shown on right-click / long-press (see PdfrxViewerOptions.contextMenuBuilder). Return a positioned-by-the-viewer element, or null/undefined to show no menu. Build items that call PdfrxViewer.copySelection / PdfrxViewer.selectAll etc. and then ContextMenuContext.close. Supplying this replaces the built-in menu entirely — the mechanism through which an app localizes or customizes it.
null
undefined
Builds the context menu shown on right-click / long-press (see PdfrxViewerOptions.contextMenuBuilder). Return a positioned-by-the-viewer element, or
null/undefinedto show no menu. Build items that call PdfrxViewer.copySelection / PdfrxViewer.selectAll etc. and then ContextMenuContext.close. Supplying this replaces the built-in menu entirely — the mechanism through which an app localizes or customizes it.