# FlydownOptions

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

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

Options for creating flydown windows.

## Properties

- **`activeArea`** (`Bounds`, optional)
  Range where the flydown will remain active.
- **`horizontalOffset`** (`number`, optional)
  Default horizontal offset for all flydown zones in pixels.
- **`size`** (`((data: ShowFlydownData, cancel: () => void) => Promise<Size>) | Size`, optional)
  Size of the rendered flydown window.
  Can be an object with a specific size, or a callback that calculates the size.
  The callback receives the flydown data and a function to cancel the flydown.
- **`targetLocation`** (`PopupTargetLocation`, optional)
  Location (`"bottom"`, `"top"`, `"left"`, `"right"` or `"none"`) where the flydown will appear, relative to the defined flydown zone.
  If `"none"` is passed, the flydown will appear at `{ left: 0, top: 0 }` of the flydown trigger zone.
- **`verticalOffset`** (`number`, optional)
  Default vertical offset for all flydown zones in pixels.
- **`windowId`** (`string`, optional)
  ID of the window which will be used as a flydown window.
- **`zones`** (`FlydownZone[]`, required)
  Array of defined zones which when triggered will show a flydown window.

## Related types

- [Bounds](https://docs.interop.io/desktop/reference/javascript/windows/bounds/index.md)
- [FlydownZone](https://docs.interop.io/desktop/reference/javascript/windows/flydownzone/index.md)
- [PopupTargetLocation](https://docs.interop.io/desktop/reference/javascript/windows/popuptargetlocation/index.md)
- [ShowFlydownData](https://docs.interop.io/desktop/reference/javascript/windows/showflydowndata/index.md)
- [Size](https://docs.interop.io/desktop/reference/javascript/windows/size/index.md)
