PrizmDoc Viewer Code Examples: Subscribe to Events

Subscribe to Events

Laptop

Subscribe to Events

This example demonstrates using the viewer’s API to subscribe to all of the viewer’s events. A library “tiny.toast” is used to display notifications of the events on the screen.