Skip to main content

Type Alias: UiPositionedPopupOpenOptions

UiPositionedPopupOpenOptions = UiGenericPopupOpenOptions<"positioned"> & object

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/UiSystem/UiViewStack.tsx:44

Options describing how to open a UI view as a positioned popup.

Type declaration

bottom?

optional bottom: number

The desired offset of the popup's bottom border from its view stack container's bottom border, as a percentage of the container's height. If both this value and top are defined, then this value takes priority. If neither this value nor top is defined, then top defaults to zero.

left?

optional left: number

The desired offset of the popup's left border from its view stack container's left border, as a percentage of the container's width. If both this value and right are defined, then right takes priority. If neither this value nor right is defined, then this value defaults to zero.

optional right: number

The desired offset of the popup's right border from its view stack container's right border, as a percentage of the container's width. If both this value and left are defined, then this value takes priority. If neither this value nor left is defined, then left defaults to zero.

top?

optional top: number

The desired offset of the popup's top border from its view stack container's top border, as a percentage of the container's height. If both this value and bottom are defined, then bottom takes priority. If neither this value nor bottom is defined, then this value defaults to zero.