# CloseOptions

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

**Source**: https://docs.interop.io/browser/reference/javascript/workspaces/closeoptions/index.html

Options for closing a `Frame` instance.

*Since: @interopio/workspaces-api 5.1*

## Properties

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