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
| Parameter | Type |
|---|---|
|
|
|
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
| Parameter | Type |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
void
createInteraction()
createInteraction: (
id:string,type:InteractionType,data:any) =>Promise<any>
Defined in: src/react/useUIInteraction.ts:36
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
| |
|
|
|
Returns
Promise<any>
getInteraction()
getInteraction: (
id:string) =>PendingInteraction|undefined
Defined in: src/react/useUIInteraction.ts:50
Parameters
| Parameter | Type |
|---|---|
|
|
|
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
| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
void