# CreatePopupOptions

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

**Source**: https://docs.interop.io/desktop/reference/javascript/windows/createpopupoptions/index.html

Options for creating a popup window. The created window will be frameless and hidden.

*Since: io.Connect Desktop 10.0, @interopio/desktop 6.16.0*

## Properties

- **`copyStyles`** (`boolean`, optional) default: `true`
  If `true`, the window styles will be copied from the parent window.
  For the copy operation to succeed, the styles to copy must be global and already loaded
  in the parent window document before invoking the `createPopup()` method.
- **`hasMoveAreas`** (`boolean`, optional) default: `true`
  If `true`, the window will have move areas and the user will be able to move it.
- **`hasSizeAreas`** (`boolean`, optional) default: `false`
  If `true`, the user will be able to resize the window by dragging its borders.
- **`height`** (`number`, optional) default: `600`
  Window height in pixels.
- **`left`** (`number`, optional) default: `0`
  Distance of the top left window corner from the left edge of the screen in pixels.
- **`roundedCorners`** (`boolean`, optional)
  If `true`, the window will have rounded corners.
- **`top`** (`number`, optional) default: `0`
  Distance of the top left window corner from the top edge of the screen in pixels.
- **`transparent`** (`boolean`, optional) default: `false`
  If `true`, the window will be transparent.
- **`width`** (`number`, optional) default: `600`
  Window width in pixels.
