Can I set the image interactivity mode on the client?

Last Updated: Release 4.2

Issue/Question

Is there a way to set image interactivity mode on the client?

Solution

Although image encoding is usually set on the client, the interactivity mode is always set on the service. The method for this is setViewInteracting, which is inherited from the RemoteRenderer interface and can be found in the ViewManager class.

This limitation is by design. The service-side has more knowledge over when an image is interactive or not. This often happens during a mouse event, but not always.

 

March 21, 2016