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
Trixta reaction related methods can be found here.