# CloseOptions

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

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

Options for closing an io.Connect Window.

## Properties

- **`allowPrevent`** (`boolean`, optional)
  If `true`, will enable the window to prevent closing.
- **`showDialog`** (`boolean`, optional)
  If `true`, a confirmation dialog will be shown before closing the window.
