Hi there.
While seeking to set the tool mode in our viewer to pan by default, I found that the documentation is misleading.
PDFJS Express WebViewer Namespace: Tools leads me (at least) to think the list of capitalised names is what you need to supply to the setToolMode method. Stepping through the JS reveals that this isn’t the case. In my case, I needed:
instance.setToolMode(‘Pan’);
Regards,
Nigel