Interface: Callbacks
Properties
| Property | Type | Description |
|---|---|---|
onLoadInit? | Callback maybe invoked when target application has started loading and spinner starts. | |
onLoadStart? | Callback maybe invoked when target application has started loading. | |
onLoad? | Callback maybe invoked when target application has finished loading. | |
onCancel? | Callback maybe invoked when user cancels the workflow. | |
onPublishStart? | Callback maybe invoked when user starts export of the asset to host app by click on save button. | |
onPublish? | Callback maybe invoked when export of the asset finishes. Promise status indicates success/ failure (e.g., user cancels in the OS picker dialog should return Promise with DENIED status) The SDK propagates this to Horizon, triggering the relevant workflow, such as displaying a success toast on resolution. | |
onError? | ErrorCallback<unknown> | Callback maybe invoked in case of error scenarios. |
onEvent? | Callback maybe invoked in case of some event like information events. | |
onIntentChange? | Callback invoked when user navigates from one design workflow to another For example: Quick action to Express. |
