Files
blockly/core/interfaces/i_contextmenu.ts
2022-07-07 18:45:11 +00:00

26 lines
469 B
TypeScript

/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The interface for an object that supports a right-click.
*/
/**
* The interface for an object that supports a right-click.
* @namespace Blockly.IContextMenu
*/
/** @alias Blockly.IContextMenu */
export interface IContextMenu {
/**
* Show the context menu for this object.
* @param e Mouse event.
*/
showContextMenu: AnyDuringMigration;
}