API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagecreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignTokeninitAppElementoverlay.registerOnCanOpenopenDesignrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDrag
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInforequestOpenExternalUrl
appProcess.current
API reference for the appProcess.current property.
This version of the API is in beta. Beta APIs are unstable and may change without warning. You can't release public apps using this API until it's stable.
Provides methods for interacting with the current app process.
Methods
getInfo
function
REQUIRED
Returns information about the current app process.
To learn more, see appProcess.current.getInfo
.
requestClose
function
REQUIRED
Requests the termination of the current process.
To learn more, see appProcess.current.requestClose
.
setOnDispose
function
REQUIRED
Registers a callback that runs when the current app process is about to close.
To learn more, see appProcess.current.setOnDispose
.