Home > widget-integration > PredictiveBundleController > handlePopupTrigger
PredictiveBundleController.handlePopupTrigger() method
Handles inline trigger clicks that should open the predictive bundle modal.
Signature:
handlePopupTrigger(target: HTMLElement, blockType: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
HTMLElement |
Element that triggered the popup request. |
|
blockType |
string |
Source block type. |
Returns:
void