Class ToolbarWorkflowManager
A workflow manager of a Toolbar which will run stuff before / after commands.
When toolbars are created, they will add a Manager and then raise an event for in-page code to add workflow steps.
Normally the toolbar with raise a toolbar-init
event where you can then add steps.
Package: Api.Js.SxcJs
Methods
add(WorkflowStep | WorkflowStep[])
Register one or many workflow-steps to the toolbar, to use if toolbar commands are executed.
Declaration
function add(steps: WorkflowStep | WorkflowStep[])
Parameters
Type | Name | Description |
---|---|---|
WorkflowStep | WorkflowStep[] | steps |