Interaction example


#1

Hi there,

In the interaction example you list a few mouse options:

var events = [
‘element.hover’,
‘element.out’,
‘element.click’,
‘element.dblclick’,
‘element.mousedown’,
‘element.mouseup’
];

Is there an option available for right click on the element? ‘element.oncontextmenu’ or ‘element.contextmenu’ does not work.

If not is there a way to create this myself?

Cheers,
Ben.


#2

Hey,

unfortunately events are only fired when the left mouse button is clicked. You can see the reason here. You could simply comment out this line.


#3

Thanks for your reply Philip.