Skip to content

@serenity-is/corelib / SubDialogHelper / cascadedDialogOffset

Function: cascadedDialogOffset()

cascadedDialogOffset(element): any

Defined in: src/ui/helpers/subdialoghelper.ts:96

Returns the jQuery dialog position options used to cascade a dialog from the given element.

Parameters

element

The element (or array-like of elements) to cascade from.

HTMLElement | ArrayLike<HTMLElement>

Returns

any

The dialog position options.