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

36 lines
751 B
TypeScript

/**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview The interface for an object that is selectable.
*/
/**
* The interface for an object that is selectable.
* @namespace Blockly.ISelectable
*/
// eslint-disable-next-line no-unused-vars
import {IDeletable} from './i_deletable';
// eslint-disable-next-line no-unused-vars
import {IMovable} from './i_movable';
/**
* The interface for an object that is selectable.
* @alias Blockly.ISelectable
*/
export interface ISelectable extends IDeletable, IMovable {
id: string;
/** Select this. Highlight it visually. */
select: AnyDuringMigration;
/** Unselect this. Unhighlight it visually. */
unselect: AnyDuringMigration;
}