Search Docs
Loading...
Skip to content

Type Alias: Callbacks

type Callbacks = object;

Represents the callback functions for various events in the Creative Editor SDK. This interface defines functions for handling back, close, share, save, load, load archive, download, export, upload, and unsupported browser events.

Deprecated#

Use the cesdk.actions API and the Order API instead.

Properties#

PropertyTypeDescription
onBack?() => voidPromise<void>
onClose?() => voidPromise<void>
onShare?(s) => voidPromise<void>
onSave?(s) => voidPromise<void>
onLoad?(() => Promise<string>)"upload"
onLoadArchive?(() => Promise<string>)"uploadArchive"
onDownload?((s) => voidPromise<void>)
onExport?((blobs, options) => voidPromise<void>)
onUpload?OnUploadCallback
onUnsupportedBrowser?() => voidDeprecated Use the cesdk.actions.register('onUnsupportedBrowser', action) instead.