# How to hide and unhide thumbnail pages on button click?

**URL:** <https://pdfjs.community/t/how-to-hide-and-unhide-thumbnail-pages-on-button-click/1197>\
**Category:** Technical Support\
**Created:** [November 26, 2021, 1:35pm UTC](https://pdfjs.community/t/how-to-hide-and-unhide-thumbnail-pages-on-button-click/1197 "2021-11-26T13:35:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![himani.sharma](https://avatars.discourse-cdn.com/v4/letter/h/e47774/32.png) [@himani.sharma](https://pdfjs.community/u/himani.sharma)\
**Post date:** [November 26, 2021, 1:35pm UTC](https://pdfjs.community/t/how-to-hide-and-unhide-thumbnail-pages-on-button-click/1197/1 "2021-11-26T13:35:12Z")

</div>

**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!

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/9bfd7ba842d8a7993ba64e523ed6c0b256cfcc19.png)

**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}

---

_[View the full topic](https://pdfjs.community/t/how-to-hide-and-unhide-thumbnail-pages-on-button-click/1197)._
