Const
The items of the popup shown when text is selected.
instance.UI.textPopup.add({ type: 'actionButton', dataElement: 'searchSelectionButton', label: 'Search', onClick: () => { const text = instance.Core.documentViewer.getSelectedText(); instance.UI.searchTextFull(text); },}, 'copyTextButton'); Copy
instance.UI.textPopup.add({ type: 'actionButton', dataElement: 'searchSelectionButton', label: 'Search', onClick: () => { const text = instance.Core.documentViewer.getSelectedText(); instance.UI.searchTextFull(text); },}, 'copyTextButton');
The items of the popup shown when text is selected.