API Reference > presentation-frontend > UnifiedSelection > SelectionHandler > constructor constructor Method Constructor. SelectionHandler(manager: SelectionManager, name: string, imodel: IModelConnection, rulesetId?: string, onSelect?: SelectionChangesListener): SelectionHandler Parameter Type Description manager SelectionManager SelectionManager used to store overall selection. name string The name of the selection handler. imodel IModelConnection iModel connection with which the selection changes will be associated with. rulesetId string Id of a ruleset selection changes will be associated. onSelect SelectionChangesListener Callback function called when selection changes. Returns - SelectionHandler Defined in presentation/frontend/src/selection/SelectionHandler.ts Line 39 Last Updated: 13 June, 2024