@serenity-is/corelib / SubDialogHelper / cascade
Function: cascade()
cascade(
cascadedDialog,ofElement):any
Defined in: src/ui/helpers/subdialoghelper.ts:80
Positions a cascaded dialog relative to the element that opened it.
Parameters
cascadedDialog
The cascaded dialog to position.
domNode
HTMLElement
ofElement
The element (or array-like of elements) the dialog is cascaded from.
HTMLElement | ArrayLike<HTMLElement>
Returns
any
The cascaded dialog.