# LayoutContents

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

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

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

## Properties

- **`appComponents`** (`Array<WindowComponent | WorkspaceFrameComponent | IOConnectWorkspaces.WorkspaceComponent>`, 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

- [WindowLayoutItem](https://docs.interop.io/browser/reference/javascript/workspaces/windowlayoutitem/index.md)
- [WorkspaceComponent](https://docs.interop.io/browser/reference/javascript/workspaces/workspacecomponent/index.md)
- [WorkspaceLayoutComponentState](https://docs.interop.io/browser/reference/javascript/workspaces/workspacelayoutcomponentstate/index.md)
