blockly > utils > browserEvents > isRightButton
utils.browserEvents.isRightButton() 関数
このイベントが右クリックを行うと、true を返します。
署名:
export declare function isRightButton(e: MouseEvent): boolean;
パラメータ
パラメータ | 種類 | 説明 |
---|---|---|
e | MouseEvent | マウスイベント。 |
戻り値:
boolean
右クリックする場合は true に設定します。