Opens a URL address in a pop-up WebView or in an external browser, depending on configuration settings.
Name | Description | Type | Use |
---|---|---|---|
URL | A URL address of the page to be loaded. | string |
required |
target | This parameter is ignored. The API acts as if the "_blank" was provided, therefore the URL is always loaded into a new window. | string |
optional |
options | Configuration options for the browser. | object |
optional |
The options
object passes the following property:
Name | Description | Type |
---|---|---|
external | Decides whether the URL address should be opened in an external browser. By default, this option is set to "false", which results in opening the URL within the application (in a plain WebView window). NoteOpening the URL address in an external browser means that callbacks described in the addListener article will not be called. |
boolean |