API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagecreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignTokeninitAppElementopenDesignoverlay.registerOnCanOpenrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDrag
Intents: data
Intents: design
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInfonotification.addToastrequestOpenExternalUrl
appProcess.current
API reference for the appProcess.current property.
Provides methods for interacting with the current app process.
Methods
getInfo
function
Required
Returns information about the current app process.
For more information, see appProcess.current.getInfo.
requestClose
function
Required
Requests the termination of the current process.
For more information, see appProcess.current.requestClose.
setOnDispose
function
Required
Registers a callback that runs when the current app process is about to close.
For more information, see appProcess.current.setOnDispose.