Class: EditorWorkflow
Extends
Implements
Methods
create()
Copied to your clipboardcreate(docConfig?,appConfig?,exportConfig?,containerConfig?): void
Start the editor workflow with an empty canvas
Parameters
Parameter | Type | Description |
---|---|---|
docConfig ? | pass a custom canvas size | |
appConfig ? | properties to configure the Editor | |
exportConfig ? | properties to configure the export options | |
containerConfig ? | properties to configure the SDK container |
Returns
void
Implementation of
createWithAsset()
Copied to your clipboardcreateWithAsset(docConfig,appConfig?,exportConfig?,containerConfig?): void
Start the editor workflow by passing an image asset
Parameters
Parameter | Type | Description |
---|---|---|
docConfig | pass an image asset as base64 | |
appConfig ? | properties to configure the Editor | |
exportConfig ? | properties to configure the export options | |
containerConfig ? | properties to configure the SDK container |
Returns
void
Implementation of
EditorWorkflow
.createWithAsset
createWithTemplate()
Copied to your clipboardcreateWithTemplate(docConfig,appConfig?,exportConfig?,containerConfig?): void
Start the editor workflow by passing an Express Template ID
Parameters
Parameter | Type | Description |
---|---|---|
docConfig | pass a template ID | |
appConfig ? | properties to configure the Editor | |
exportConfig ? | properties to configure the export options | |
containerConfig ? | properties to configure the SDK container |
Returns
void
Implementation of
EditorWorkflow
.createWithTemplate
edit()
Copied to your clipboardedit(docConfig,appConfig?,exportConfig?,containerConfig?): void
Start the editor workflow by passing an Express Document ID
Parameters
Parameter | Type | Description |
---|---|---|
docConfig | pass an Express Document ID | |
appConfig ? | properties to configure the Editor | |
exportConfig ? | properties to configure the export options | |
containerConfig ? | properties to configure the SDK container |
Returns
void