Enable Thumbnail control thumbRotateCounterClockwise

WebViewer Version: latest

I am trying to enable the tool, thumbRotateCounterClockwise, in the thumbnail panel. Is this possible, and does the tool exist?

WebViewer({
path: ‘…/…/js/WebViewer/lib’, // path to the PDFTron ‘lib’ folder on your server
licenseKey: ‘Insert commercial license key here after purchase’,
//annotationUser: “far33832”
//initialDoc: ‘https://pdftron.s3.amazonaws.com/downloads/pl/webviewer-demo.pdf’,
//initialDoc: ‘NUCLEUS DOCUMENT REVIEW GUIDE.PDF’, // You can also use documents on your server
}, document.getElementById(‘viewer’))
.then(instance => {…

       //this method disables tools
       instance.UI.disableElements([
                    'toolbarGroup-Measure',
                    'toolbarGroup-Forms',
                    'toolbarGroup-Edit',
                    'pageManipulationOverlayButton',
                    'thumbDelete',
                    'thumbMultiDelete',
                    'thumbExtract',
                    'fileAttachmentToolGroupButton',
                    'stickyToolGroupButton']);     

        //this method enables tools, but won't show the 'guessed' tool of thumbRotateCounterClockwise

Webviewer_Thumb_CounterClock
instance.UI.enableElements([
‘thumbRotateCounterClockwise’]);

Thank you

​Hi Mark,

Thank you for contacting WebViewer Support.

The option for rotating the thumbnail counter-clockwise is available in the 3 dots:

If you would like to enable specific features, you can use UI.enableFeatures:
https://www.pdftron.com/api/web/UI.html#.enableFeatures

Best Regards,

Kevin Kim
Web Development Support Engineer
PDFTron Systems, Inc.