instance method Event#isRightClick
Event#isRightClick() → Boolean
Event) – An Event object
Determines whether a button-related mouse event involved the right mouse button.
Keep in mind that the "right" mouse button is actually the "secondary" mouse button. When a mouse is in left-handed mode, the browser will report clicks of the left button as "left-clicks."
This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.