UNPKG

@itwin/presentation-frontend

Version:

Frontend of iModel.js Presentation library

30 lines 1.2 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /** @packageDocumentation * @module UnifiedSelection */ import { BeEvent } from "@itwin/core-bentley"; /** * An event broadcasted on selection changes * @public */ export class SelectionChangeEvent extends BeEvent { } /** * The type of selection change * @public */ export var SelectionChangeType; (function (SelectionChangeType) { /** Added to selection. */ SelectionChangeType[SelectionChangeType["Add"] = 0] = "Add"; /** Removed from selection. */ SelectionChangeType[SelectionChangeType["Remove"] = 1] = "Remove"; /** Selection was replaced. */ SelectionChangeType[SelectionChangeType["Replace"] = 2] = "Replace"; /** Selection was cleared. */ SelectionChangeType[SelectionChangeType["Clear"] = 3] = "Clear"; })(SelectionChangeType || (SelectionChangeType = {})); //# sourceMappingURL=SelectionChangeEvent.js.map