# FrameCloseOptions

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

**Source**: https://docs.interop.io/desktop/reference/javascript/workspaces/framecloseoptions/index.html

Options for closing a Frame.
*Available only in **io.Connect Desktop**.*

*Since: io.Connect Desktop 9.9*

## Properties

- **`allowPrevent`** (`boolean`, optional)
  If `true`, will allow preventing the operation for closing the Frame.
- **`showDialog`** (`boolean`, optional)
  If `true`, will show a dialog for the user to confirm or cancel closing the Frame.
