Safari
Presents a website.
Presents a website either in-app or by leaving the app an opening the Safari app.
Methods
Section titled “Methods”
open(url)
Section titled “open(url)”Presents a website.
static open(url: string)Presents a website in the Safari app, thus leaving the current app.
Parameters
Section titled “Parameters”url string
URL of website to present.
openInApp(url, fullscreen)
Section titled “openInApp(url, fullscreen)”Presents a website in-app.
static openInApp(url: string, fullscreen: bool): PromisePresents a website without leaving the app.
Parameters
Section titled “Parameters”url string
URL of website to present.
fullscreen bool
Optional. Set to true to display the web view in fullsceen. This only has an effect when used within the app. Defaults to true.
Return value
Section titled “Return value”Promise