Home > widget-integration > PredictiveBundleController > connect

PredictiveBundleController.connect() method

Connects the controller to a predictive bundle root element.

Signature:

connect(props: PredictiveBundleControllerConnectProps, parent: HTMLElement): Promise<void>;

Parameters

Parameter

Type

Description

props

PredictiveBundleControllerConnectProps

Widget props derived from the registered TAE block.

parent

HTMLElement

Root element that owns bundle interactions.

Returns:

Promise<void>