requestOpenExternalUrl

API reference for the requestOpenExternalUrl method.

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.

#requestOpenExternalUrlRequest
Required

Options for prompting the user to open an external URL.

Properties of request
#urlstring
Required

The URL to open.

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.

#statusstring

The status of the request.

This must be "completed".