open

Fires when a PDF is opened in the viewer.

Example

<div id="pdfviewer"></div>

<script type="module">
   $("#pdfviewer").kendoPDFViewer({
      open: function (e) {
         kendo.alert("file opened: " + e.file.name);
      },
   });
</script>

Event Data

e.sender kendo.ui.PDFViewer

The widget instance which fired the event.

e.file Object

The file that will be displayed in the viewer.

In this article
open
Not finding the help you need?
Contact Support