useActiveIModelConnection Function

Beta

React hook that maintains the active IModelConnection. For this hook to work properly the IModelConnection must be set using UiFramework.setIModelConnection method. This also requires that the host app includes the UiFramework reducer into its Redux store.

useActiveIModelConnection(): IModelConnection | undefined

Defined in

Last Updated: 08 January, 2020