mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
27 lines
467 B
JavaScript
27 lines
467 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2020 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview The interface for an object that supports a right-click.
|
|
* @author samelh@google.com (Sam El-Husseini)
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
goog.provide('Blockly.IContextMenu');
|
|
|
|
|
|
/**
|
|
* @interface
|
|
*/
|
|
Blockly.IContextMenu = function() {};
|
|
|
|
/**
|
|
* Show the context menu for this object.
|
|
* @param {!Event} e Mouse event.
|
|
*/
|
|
Blockly.IContextMenu.prototype.showContextMenu;
|