# Events

The KendoReact PDF Viewer component exposes several events to let you easily handle file operations logic in React apps. Below is a summary of the available events and their triggers:

* `onLoad`—Fires when a PDF document has been loaded.
* `onError`—Fires when an error occurs, for example, when the selected file cannot be read.
* `onDownload`—Fires when the download tool has been clicked. To prevent the download, return `false`.
* `onPageChange`—Fires when the page has changed.
* `onZoom`—Fires when the zoom level has changed.
* `onRenderContent`—Fires when the content component is about to be rendered.
* `onRenderLoader`—Fires when the loading indication component is about to be rendered.
* `onRenderToolbar`—Fires when the toolbar component is about to be rendered.

The following example demonstrates basic PDF Viewer events.

[Demo Source](https://demos.telerik.com/kendo-react-ui/pdf-viewer/events/func/source.txt)

## Suggested Links

* [React PDF Viewer](https://www.telerik.com/kendo-react-ui/components/pdfviewer)
* [API Reference of the KendoReact PDF Viewer](https://www.telerik.com/kendo-react-ui/components/pdfviewer/api/pdfviewer)
