# FrameClosingData

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

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

Describes the data passed to the callback for handling the event which fires when a Frame is about to be closed.

## Properties

- **`prevent`** (`() => void`, required)
  Function that can be used to prevent closing a Frame.
