Open Thumbnail pane programmatically

The PDF Viewer library allows you to open the thumbnail pane programmatically using the openThumbnailPane() method.

The following steps are used to open the thumbnail.

Step 1: Follow the steps provided in the link to create a simple PDF Viewer sample.

Step 2: Use the following code snippet to open thumbnail.

<button type="button" onclick="openThumbnail()">Open Thumbnail Pane</button>

<script>
    function openThumbnail() {
        var viewer = document.getElementById('pdfViewer').ej2_instances[0];
        // Open Thumbnail Pane.
        viewer.thumbnailViewModule.openThumbnailPane();
    }
</script>

Find the sample, how to open the thumbnail pane programmatically