blockly > utils > browserEvents > isRightButton
utils.browserEvents.isRightButton() function
Returns true this event is a right-click.
Signature:
export declare function isRightButton(e: MouseEvent): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
e | MouseEvent | Mouse event. |
Returns:
boolean
True if right-click.