Callback handlers are assigned by passing event names and corresponding handler functions with the handlers property to config JSON object in the viewer's constructor. Alternatively, it is possible to use setHandlers() API method.
Supported viewer events include the following:
Triggers when viewer initialization is complete and all internal components are created, so that it is possible to use getComponent() API. The callback handler does not take any arguments.
Triggers each time an event occurs inside the viewer which may be handled by an event tracking system, such as Adobe Analytics. The callback handler accepts the following arguments:
Triggers when the user activates a hotspot with Quick View data associated with it. The callback handler takes the following argument: