@serenity-is/corelib / associateWidget
Function: associateWidget()
associateWidget(
widget):void
Defined in: src/ui/widgets/widgetutils.ts:20
Associates a widget with its DOM node so it can later be retrieved via tryGetWidget or getWidgetFrom.
Parameters
widget
The widget to associate.
domNode
HTMLElement
Returns
void