Handling Viewer Events
GestureViewer provides a way to subscribe to specific events from the viewer using the useGestureViewerEvent hook. This allows you to respond to real-time gesture changes like zoom and rotation.
useGestureViewerEvent
Listen to events on a specific instance
You can listen to events on a specific instance by passing the instance ID as the first argument to the useGestureViewerEvent hook.
Note
The default id value is default.
