Is it possible to add event listeners to a viewing application?
I know it's possible to add them on a viewer object using the addEventListener
method, but how can I add events to a viewing application?
CLARIFICATION:
I know I can use this.viewerApp.getCurrentViewer()
to get the viewer and then use addEventListener
, but is there a better or more correct way?