How to custom thumbnail control button?

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.1.0

Detailed description of issue

  1. How to get the list button of thumbnail control?
  2. How to add a custom button to thumbnail control or remove a button?

image

Thanks

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi Autunna,

To remove thumbnail controls you can use the following code to do so:

 instance.UI.disableFeatures([instance.Feature.ThumbnailMultiselect]);

This uses the disableFeatures API and you can find a list of features you can disable here

To add your own customization you can read this answer here: How can we create our custom thumbnail panel beside our viewer? - #3 by Logan

Cheers,
Dustin