# OpenAppConfig

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

**Source**: https://docs.interop.io/browser/reference/javascript/iframes/openappconfig/index.html

Configuration for opening an app in an `<iframe>` element.

## Properties

- **`appName`** (`string`, required)
  Name of the app as specified in its definition.
- **`channelId`** (`string`, optional)
  Name of the io.Connect Channel which the app instance will join.
- **`container`** (`HTMLElement`, optional) default: `document.body`
  The HTML element to which the newly created `<iframe>` will be appended as a child element.
- **`context`** (`any`, optional)
  Starting context for the app instance.
- **`iframeConfig`** (`{ className?: string; styles?: Partial<CSSStyleDeclaration>; }`, optional)
  Initial configuration that will be applied to the `<iframe>` element on creation.
  Passing CSS classes and styles before opening the app instance in an `<iframe>` element may help avoid
  undesirable visual flickering that may be caused by manipulating the `<iframe>` element after creation.
