mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
* chore: remove alias comments * chore: format * chore: remove extra newlines * chore: fix bad replaces
24 lines
452 B
TypeScript
24 lines
452 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2020 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* The interface for an object that supports a right-click.
|
|
*
|
|
* @namespace Blockly.IContextMenu
|
|
*/
|
|
import * as goog from '../../closure/goog/goog.js';
|
|
goog.declareModuleId('Blockly.IContextMenu');
|
|
|
|
|
|
export interface IContextMenu {
|
|
/**
|
|
* Show the context menu for this object.
|
|
*
|
|
* @param e Mouse event.
|
|
*/
|
|
showContextMenu(e: Event): void;
|
|
}
|