The ContextMenuSettings
is used to show the context menu of PDF document.
<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
let viewer: PdfViewer = new PdfViewer();
// Change the settings of the context menu option.
viewer.contextMenuOption = "RightClick";
viewer.appendTo("#pdfViewer");
string
Defines the context menu action.
Defaults to RightClick
Defines the context menu items should be visible in the PDF Viewer. @default []