SessionStateActions Variable

An object with a function that creates each SessionStateReducer that can be handled by our reducer.

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>, updateCursorMenu: (cursorMenuData: CursorMenuData | CursorMenuPayload) => ActionWithPayload<UpdateCursorMenu, DeepReadonlyObject<CursorMenuData> | DeepReadonlyObject<CursorMenuPayload>> }

Default Value

typescript ...

Deprecated  

Defined in

Last Updated: 20 November, 2024