API reference
Design
addAudioTrackaddElementAtCursoraddElementAtPointaddNativeElementaddPagecreateRichtextRangeeditContentgetCurrentPageContextgetDefaultPageDimensionsgetDesignTokeninitAppElementoverlay.registerOnCanOpenrequestExportselection.registerOnChangesetCurrentPageBackgroundui.startDragToCursorui.startDragToPointui.startDrag
Platform
appProcessappProcess.broadcastMessageappProcess.currentappProcess.current.getInfoappProcess.current.requestCloseappProcess.current.setOnDisposeappProcess.requestCloseappProcess.registerOnMessageappProcess.registerOnStateChangefeatures.isSupportedfeatures.registerOnSupportChangegetPlatformInforequestOpenExternalUrl
Opens an external URL.
The URL is opened natively, such as in a new browser tab on desktop or in a browser sheet on mobile.
In some browsers, the user must enable popup permissions before any URL can be opened.
Parameters
request
OpenExternalUrlRequest
REQUIRED
Options for prompting the user to open an external URL.
Properties of request
url
string
REQUIRED
The URL to open.
Returns
The result of prompting the user to open an external URL. This is a Promise
that resolves with the following object:
The result when a user agrees to navigate to an external URL.
status
string
The status of the request.
This must be "completed"
.
The result when a user doesn't agree to navigate to an external URL.
status
string
The status of the request.
This must be "aborted"
.