Home > widget-integration > PredictiveBundleController > getClickActions
PredictiveBundleController.getClickActions() method
Returns click actions delegated from a predictive bundle root.
Override to add or replace click behavior for shop-specific integrations.
Signature:
protected getClickActions(root: HTMLElement, blockType: string): DOMActionDefinition[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
root |
HTMLElement |
DOM root receiving delegated events. |
|
blockType |
string |
Source block type used to resolve modal behavior. |
Returns:
Click action definitions for the root.