Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Trixta action related methods can be found here.
Trixta reaction related methods can be found here.
This method will attempt to join the given Trixta Role on connected Trixta Space
Here you can find information all the react methods that you can dispatch.
Please note all methods need to be dispatched to the redux store either using the
useDispatch hook, the dispatch store function or the put effect in a Saga
This method will attempt to send a request to the given roleName and actionName
roleName
Trixta role name
string
actionName
Trixta action name
string
actionOptions
Options for action in Trixta flow
any
debugOptions
Trixta flow debugging options
debugMode
Enables debugging for action in Trixta flow. False by default
boolean?
responseEvent
Redux event for data to dispatch response to
string?
requestEvent
Redux event for data to dispatch to before submitting request to Trixta
string?
timeoutEvent
Redux event for data to dispatch error response due to timeout
string?
errorEvent
Redux event for data to dispatch error response to
string?
loadingStatusRef
Optional value to change the default isInProgress behaviour for when submitting actions.
If you plan to use the same action name for the same role, on the same screen, this is when you would make use of this * property
string?
timeout
timeout in milliseconds for submitting data to Trixta, default is 15000
number?
extraData
Extra data to pass on and receive in response with the key extraData. This can be used as needed.
any
clearResponse
Determines if the instances for action should be cleared before submitting. False by default
boolean?
formData
Data to submit to Trixta
any
This method will attempt to respond to a Trixta Reaction for the given roleName and reactionName
Please note your reaction must be a request for response to use this method.
roleName
Trixta role name
string
reactionName
Trixta reaction name
string
ref
Unique Trixta reaction reference. Can be found on a
string
responseEvent
Redux event for data to dispatch response to
string?
requestEvent
Redux event for data to dispatch to before submitting request to Trixta
string?
timeoutEvent
Redux event for data to dispatch error response due to timeout
string?
errorEvent
Redux event for data to dispatch error response to
string?
loadingStatusRef
Optional value to change the default isInProgress behaviour for when submitting reactions.
If you plan to use the same reaction name for the same role, on the same screen, this is when you would make use of this * property
string?
timeout
timeout in milliseconds for submitting data to Trixta, default is 15000
number?
extraData
Extra data to pass on and receive in response with the key extraData. This can be used as needed.
any
name
Trixta role name
string
space
to connect to
string
params
Any optional params when connect to the Trixta space
any