API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagecreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignTokeninitAppElementoverlay.registerOnCanOpenrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDrag
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInforequestOpenExternalUrl
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
.