useWorkflowTransitions
Overview
Provides a reactive list of workflow transitions for a given app and model.
Signature
useWorkflowTransitions(app, model, isActive)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| app | Ref | yes | A ref containing the app name that is being watched. |
| model | Ref | yes | A ref containing the model name that is being watched. |
| isActive | Readonly | no | An IsActive instance, if one can be reused. |
Returns
An object containing transitions.
Source
client/lib/use/useWorkflowTransitions.js:36