# FlydownZone

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

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

Describes a flydown trigger zone.

## Properties

- **`bounds`** (`Bounds`, required)
  Bounds of the zone which can trigger a flydown window.
  The bounds are relative to the target window, so the coordinates `{ left: 0, top: 0 }`
  correspond to the top left corner of the target window, rather than the top left corner of the monitor.
- **`flydownSize`** (`((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.
- **`id`** (`string`, required)
  Unique ID of the flydown trigger zone.
- **`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.
- **`windowId`** (`string`, optional)
  ID of the window which will be used as a flydown window.

## Related types

- [Bounds](https://docs.interop.io/desktop/reference/javascript/windows/bounds/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)
