@zxh19890103/wik
Version:
The world-class JavaScript library for building large-scale digital warehouse both on 2D and 3D.
13 lines (12 loc) • 394 B
TypeScript
import { Interactive } from './Interactive';
export interface ISelectionManager {
getCurrent(): Interactive;
getMany(): Interactive[];
current(layer: Interactive, data?: any): void;
many(layers: Interactive[]): void;
append(...layers: Interactive[]): void;
clearCurrent(): void;
clearMany(): void;
clear(): void;
isSelectable(layer: Interactive): boolean;
}