---
title: Safari
description: Presents a website.
---

Presents a website.

Presents a website either in-app or by leaving the app an opening the Safari app.

## Methods

<span id="open" class="api-anchor"></span>

### open(url)

Presents a website.

```typescript
static open(url: string)
```

Presents a website in the Safari app, thus leaving the current app.

#### Parameters

**`url` `string`**

URL of website to present.

<span id="openinapp" class="api-anchor"></span>

### openInApp(url, fullscreen)

Presents a website in-app.

```typescript
static openInApp(url: string, fullscreen: bool): Promise
```

Presents a website without leaving the app.

#### 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

**`Promise`**