Skip to content

@serenity-is/corelib / SubDialogHelper / bubbleDataChange

Function: bubbleDataChange()

bubbleDataChange(dialog, owner, useTimeout?): any

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

Binds a dialog's data change event so it bubbles up to the owner widget.

Parameters

dialog

any

The dialog to bind to.

owner

Widget<any>

The owner widget to bubble the event to.

useTimeout?

boolean

Whether to invoke the handler asynchronously via a timeout.

Returns

any

The dialog.