Skip to Content
SdkReactInternalType AliasesUIInteractionContextValue

UIInteractionContextValue

UIInteractionContextValue = object

Defined in: src/react/useUIInteraction.ts:34 

Context value for UI interactions

Properties

cancelInteraction()

cancelInteraction: (id: string) => void

Defined in: src/react/useUIInteraction.ts:48 

Parameters

ParameterType

id

string

Returns

void


clearInteractions()

clearInteractions: () => void

Defined in: src/react/useUIInteraction.ts:49 

Returns

void


createDisplayInteraction()

createDisplayInteraction: (id: string, displayType: string, data: any, result: any) => void

Defined in: src/react/useUIInteraction.ts:41 

Parameters

ParameterType

id

string

displayType

string

data

any

result

any

Returns

void


createInteraction()

createInteraction: (id: string, type: InteractionType, data: any) => Promise<any>

Defined in: src/react/useUIInteraction.ts:36 

Parameters

ParameterType

id

string

type

InteractionType

data

any

Returns

Promise<any>


getInteraction()

getInteraction: (id: string) => PendingInteraction | undefined

Defined in: src/react/useUIInteraction.ts:50 

Parameters

ParameterType

id

string

Returns

PendingInteraction | undefined


pendingInteractions

pendingInteractions: Map<string, PendingInteraction>

Defined in: src/react/useUIInteraction.ts:35 


resolveInteraction()

resolveInteraction: (id: string, result: any) => void

Defined in: src/react/useUIInteraction.ts:47 

Parameters

ParameterType

id

string

result

any

Returns

void

Last updated on