Search results

Open Thumbnail in Vue PDF Viewer component

17 Nov 2021 / 1 minute to read

The PDF Viewer library allows you to open the thumbnail of the PDF document using the openThumbnailPanel() method.

The following steps are used to open the thumbnail of the PDF Document.

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

Step 2: Add the following code snippet to open the thumbnail in the resizing event of splitter.

Copied to clipboard
onSplitterResize: function () {
      var viewer = document.getElementById("pdfviewer").ej2_instances[0];
      viewer.updateViewerContainer();
      viewer.thumbnailViewModule.openThumbnailPane();
      debugger;
    },

Find the Sample how to open thumbnail