Skip to main content

Options for creating a popup window.

Properties (7)

Property Type Default Required Description
focus⚓︎ boolean true x

If true, the popup window will gain focus when shown and will hide automatically when it loses focus. If false, the popup window won't be on focus when shown and won't hide automatically if it gains and loses focus afterwards. If you set this to false, you will be responsible for implementing the conditions and the mechanism for hiding/closing the popup window.

io.Connect Desktop 10.0
horizontalOffset⚓︎ number x x

Horizontal offset from the area around which the popup will appear (the area defined in the targetBounds property). Valid only if the target location of the popup window is set to "left" or "right".

size⚓︎ Size x

Size for the popup window.

targetBounds⚓︎ Bounds x

Bounds of the area around which the popup window will appear.

targetLocation⚓︎ PopupTargetLocation x

Location where the popup will appear relative to the area around which the popup window will appear (the area defined in the targetBounds property). If "none" is passed, the popup will appear at the top left corner of the area defined in the targetBounds property.

verticalOffset⚓︎ number x x

Vertical offset from the area around which the popup will appear (the area defined in the targetBounds property). Valid only if the target location of the popup window is set to "top" or "bottom".

windowId⚓︎ string x

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