Enable pan by default instead of select

Which product are you using?

PDF js viewer
PDF.js Express Version

“8.7.5”
Detailed description of issue
I have no wish for selecting things in the pdf as this is viewing only. So it would be nice if pan was just on by default

Expected behaviour
That pan is on by default

Does your issue happen with every document, or just one?
{Answer here}

Code snippet
I have no code snippet as that is what I am looking for

I figured it out. I could set instance.setToolMode('Pan'). Now I just need to find out how to disable selection completely

Hi there,

You can use the disableTools API to disable specific tools.

Best regards,
Kevin Kim

Thanks. Disabling it also disabled links, so I dropped it :slight_smile: