# Settings

**Kind**: interface | **Module**: [Windows](https://docs.interop.io/browser/reference/javascript/windows/index.md)

**Source**: https://docs.interop.io/browser/reference/javascript/windows/settings/index.html

## Properties

- **`context`** (`any`, optional)
  The initial window context. Accessible from `WebWindow#getContext`
- **`height`** (`number`, optional) default: `400`
  Window height.
- **`left`** (`number`, optional) default: `0`
  Distance of the top left window corner from the left edge of the screen.
- **`relativeDirection`** (`RelativeDirection`, optional) default: `"right"`
  Direction (`"bottom"`, `"top"`, `"left"`, `"right"`) of positioning the window relatively to the `relativeTo` window. Considered only if `relativeTo` is supplied.
- **`relativeTo`** (`string`, optional)
  The ID of the window that will be used to relatively position the new window.
  Can be combined with `relativeDirection`.
- **`top`** (`number`, optional) default: `0`
  Distance of the top left window corner from the top edge of the screen.
- **`width`** (`number`, optional) default: `400`
  Window width.

## Related types

- [RelativeDirection](https://docs.interop.io/browser/reference/javascript/windows/relativedirection/index.md)
