cc-everywhere

Interface: ModuleWorkflow

Methods

editImage()

editImage(
   docConfig, 
   appConfig?, 
   exportConfig?, 
containerConfig?): Promise<EditImageContext>;

Parameters

Parameter
Type
docConfig
EditImageDocConfig
appConfig?
EditImageAppConfig
exportConfig?
ExportOptions
containerConfig?
ContainerConfig

Returns

Promise<EditImageContext>

createImageFromText()

createImageFromText(
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Parameters

Parameter
Type
appConfig?
TextToImageAppConfig
exportConfig?
ExportOptions
containerConfig?
ContainerConfig

Returns

void

startFromContent()

startFromContent(
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Open the Start From Content module.

Parameters

Parameter
Type
Description
appConfig?
StartFromContentAppConfig
properties to configure the Start From Content module
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void

viewDesign()

viewDesign(
   docConfig, 
   appConfig?, 
   exportConfig?, 
   containerConfig?): void;

Launches the design viewer for a personalized design.

Parameters

Parameter
Type
Description
docConfig
DesignViewerDocConfig
pass an asset to preload on to the viewer.
appConfig?
DesignViewerAppConfig
properties to configure the Design Viewer module
exportConfig?
ExportOptions
properties to configure the export options
containerConfig?
ContainerConfig
properties to configure the SDK container

Returns

void