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 an app process.
Properties
current
CurrentAppProcess
REQUIRED
The current app process.
To learn more, see appProcess.current
.
Methods
requestClose
function
REQUIRED
Requests the termination of the specified app process.
To learn more, see appProcess.requestClose
.
registerOnStateChange
function
REQUIRED
Registers a callback that runs when the state of the specified app process changes.
To learn more, see appProcess.registerOnStateChange
.
registerOnMessage
function
REQUIRED
Registers a callback that listens for broadcasted messages.
To learn more, see appProcess.registerOnMessage
.
broadcastMessage
function
REQUIRED
Broadcasts a message to all of the app's active processes, not including the current process.
To learn more, see appProcess.broadcastMessage
.