How to hide and unhide thumbnail pages on button click?

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
8.1.0

Detailed description of issue
Hi there,

Do we have a functionality in pdfjs express through which we can hide or unhide the thumbnail page. When we click on an icon beside the thumbnail page , the thumbnail page should have an overlay effect indicating that the page has been hidden and vice versa.

Pls let me know if there is any pre existing way in pdfjs express for achieving this.

Thanks!

Expected behaviour
I have attached an image for the required behaviour.

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

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

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:

Hey there!

Any insights on the above issue would be of great help!

Thanks

Hi Himani,

Unfortunately, there are no thumbnail APIs to create overlays and add that functionality. You will need to follow the steps of this post here: How can we create our custom thumbnail panel beside our viewer? - #3 by Logan

Cheers,
Dustin