.rightClick()
FuncUnit.prototype.rightClick
rightClick(options [,success])
Right clicks an element. This typically results in a contextmenu event for browsers that support it.
Parameters
-
options
{Object}
options to add to the mouse events. This works the same as .click()'s options.
-
success
{function()}
Optionala callback that runs after the click, but before the next action.
Returns
{funcUnit}
returns the funcunit object for chaining.