# UndockingOptions

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

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

Settings for undocking the window.

*Since: io.Connect Desktop 10.0, @interopio/desktop 6.16.0*

## Properties

- **`newBounds`** (`Bounds`, optional)
  New bounds for the io.Connect Window. If this is provided, the `restoreBounds` property will be ignored.
- **`restoreBounds`** (`boolean`, optional)
  If `true`, the io.Connect Window will be restored to its last known bounds saved in the `dock()` method if `saveBounds` has been set to `true`.

## Related types

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