Back to the Shapespark home page

Hover on triggers

Hello everyone,

I’d like to detect when you hover on a trigger to execute some javascript. I know it is possible to detect the click with

var anchor1 = viewer.addAnchor(anchorConfig, function() {/*your click handler for the anchor 1*/});

Is there a callback for that?

Thanks a lot !

There is no callback for this, It is not possible to detect hover on a trigger.

1 Like