sessionStateMapDispatchToProps Variable

Object that contains available actions that modify SessionState. Parent control's props should extend from SessionStateActionsProps before using this in Redux 'connect' function.

Type

{ setActiveIModelId: (iModelId: string) => ActionWithPayload<SetActiveIModelId, string>, setAvailableSelectionScopes: (availableSelectionScopes: PresentationSelectionScope[]) => ActionWithPayload<SetAvailableSelectionScopes, DeepReadonlyArray<PresentationSelectionScope>>, setDefaultIModelViewportControlId: (iModelViewportControlId: string) => ActionWithPayload<SetDefaultIModelViewportControlId, string>, setDefaultViewId: (viewId: string) => ActionWithPayload<SetDefaultViewId, string>, setDefaultViewState: (viewState: any) => ActionWithPayload<SetDefaultViewState, any>, setIModelConnection: (iModelConnection: any) => ActionWithPayload<SetIModelConnection, any>, setNumItemsSelected: (numSelected: number) => ActionWithPayload<SetNumItemsSelected, number>, setSelectionScope: (activeSelectionScope: string) => ActionWithPayload<SetSelectionScope, string>, setUserInfo: (userInfo: UserInfo) => ActionWithPayload<SetUserInfo, DeepReadonlyObject<UserInfo>>, updateCursorMenu: (cursorMenuData: CursorMenuData) => ActionWithPayload<UpdateCursorMenu, DeepReadonlyObject<CursorMenuData>> }

Default Value

typescript ...

Beta  

Defined in

Last Updated: 12 June, 2024