# LayoutContents

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

**Source**: https://docs.interop.io/desktop/reference/javascript/layouts/layoutcontents/index.html

Describes the contents of Global or Workspace Layouts retrieved via the `getLayoutContents()` method.

*Since: @interopio/desktop 6.21.0*

## Properties

- **`appComponents`** (`LayoutComponent[]`, required)
  Individual app instances (including Workspaces App instances) participating in the Global Layout.
  When retrieving the contents of a Workspace Layout, this property will always be an empty array.
- **`workspaceComponents`** (`IOConnectWorkspaces.WorkspaceLayoutComponentState[]`, required)
  Workspaces (from all Workspaces App instances) participating in the Global Layout.
  When retrieving the contents of a Workspace Layout, this property will always be an empty array.
- **`workspaceWindows`** (`IOConnectWorkspaces.WindowLayoutItem[]`, required)
  All window instances from all Workspaces participating in the Global Layout (when retrieving the contents of a Global Layout),
  or all window instances participating in the Workspace (when retrieving the contents of a Workspace Layout).

## Related types

- [LayoutComponent](https://docs.interop.io/desktop/reference/javascript/layouts/layoutcomponent/index.md)
- [WindowLayoutItem](https://docs.interop.io/desktop/reference/javascript/workspaces/windowlayoutitem/index.md)
- [WorkspaceLayoutComponentState](https://docs.interop.io/desktop/reference/javascript/workspaces/workspacelayoutcomponentstate/index.md)
