Skip to main content

Describes a flydown trigger zone.

Properties (5)

Property Type Default Required Description
bounds⚓︎ Bounds x

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 x x

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 x

Unique ID of the flydown trigger zone.

targetLocation⚓︎ PopupTargetLocation x x

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 x x

ID of the window which will be used as a flydown window.