# BoxDefinition

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

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

An object describing the possible options when opening a box inside a workspace.

## Properties

- **`children`** (`Array<WorkspaceWindowDefinition | BoxDefinition>`, optional)
  An array of all the box's children which will also be opened.
- **`config`** (`GroupDefinitionConfig | RowDefinitionConfig | ColumnDefinitionConfig`, optional)
  An optional config object which defines various box-specific settings
- **`type`** (`"column" | "row" | "group"`, optional)
  The type of the workspace element.

## Related types

- [ColumnDefinitionConfig](https://docs.interop.io/desktop/reference/javascript/workspaces/columndefinitionconfig/index.md)
- [GroupDefinitionConfig](https://docs.interop.io/desktop/reference/javascript/workspaces/groupdefinitionconfig/index.md)
- [RowDefinitionConfig](https://docs.interop.io/desktop/reference/javascript/workspaces/rowdefinitionconfig/index.md)
- [WorkspaceWindowDefinition](https://docs.interop.io/desktop/reference/javascript/workspaces/workspacewindowdefinition/index.md)
