UNPKG

@itwin/presentation-frontend

Version:

Frontend of iModel.js Presentation library

33 lines 1.74 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /* eslint-disable @typescript-eslint/no-deprecated */ /** @packageDocumentation * @module UnifiedSelection */ import { BeEvent } from "@itwin/core-bentley"; /** * An event broadcasted on selection changes * @public * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `Event<StorageSelectionChangesListener>` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead. */ export class SelectionChangeEvent extends BeEvent { } /** * The type of selection change * @public * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `StorageSelectionChangeType` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead. */ 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