API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagebulkCreate.launchcreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignMetadatagetDesignTokeninitAppElementopenDesignoverlay.registerOnCanOpenpublish.launchrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDrag
Intents: Asset
Intents: Content
Intents: data
Intents: design
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInfonotification.addToastrequestOpenExternalUrl
bulkCreate.launch
API reference for the bulkCreate.launch method.
This version of the API is a preview. Preview APIs are unstable and may change without warning. You can't release public apps using this API until it's stable.
Launches the design bulk create with the data connector intent.
Usage: Launch the bulk create panel with the same app
import { bulkCreate } from "@canva/design";import { features } from "@canva/platform";if (features.isSupported(bulkCreate.launch)) {await bulkCreate.launch({ withDataConnector: 'self' });}
TYPESCRIPT
Parameters
optsLaunchBulkCreateOptsRequired
Options for configuring the bulk create panel.
withDataConnectorstringRequired
The option to make sure the data connector intent of the current app will be triggered.
The only valid value is "self".
Returns
Promise<void>
Throws
unsupported_surface code if not invoked by the design editor intent.