# DetachOptions

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

**Source**: https://docs.interop.io/desktop/reference/javascript/windows/detachoptions/index.html

Settings for a window detached from a window group.

## Properties

- **`bounds`** (`Partial<Bounds>`, optional)
  Window bounds.
- **`height`** (`number`, optional)
  Window height in pixels.
- **`hideTabHeader`** (`boolean`, optional)
  If `true`, will show to window header.
- **`relativeDirection`** (`RelativeDirection`, optional)
  Direction for positioning the window relatively to the window specified in the `relativeTo` property.
  Considered only if `relativeTo` is supplied.
  Possible values are `"bottom"`, `"top"`, `"left"`and `"right"`.
- **`relativeTo`** (`IOConnectWindow`, optional)
  Positions the new window relatively to an existing window.
- **`width`** (`number`, optional)
  Window width in pixels.

## Related types

- [Bounds](https://docs.interop.io/desktop/reference/javascript/windows/bounds/index.md)
- [IOConnectWindow](https://docs.interop.io/desktop/reference/javascript/windows/ioconnectwindow/index.md)
- [RelativeDirection](https://docs.interop.io/desktop/reference/javascript/windows/relativedirection/index.md)
