---
title: Client.frameType
slug: Web/API/Client/frameType
tags:
  - API
  - Client
  - Experimental
  - NeedsExample
  - Property
  - Reference
  - Service Workers
  - ServiceWorker
  - frameType
browser-compat: api.Client.frameType
---
{{SeeCompatTable}}{{APIRef("Service Workers API")}}

The **`frameType`** read-only property of the {{domxref("Client")}} interface indicates the type of browsing context of the current {{domxref("Client")}}. This value can be one of `"auxiliary"`, `"top-level"`, `"nested"`, or `"none"`.

## Syntax

```js
var myFrameType = client.frameType;
```

## Example

```js
TBD
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
