Home > widget-integration > PredictiveBundleController > toggleCheckbox
PredictiveBundleController.toggleCheckbox() method
Toggles product selection inside a predictive bundle.
Signature:
toggleCheckbox(target: HTMLElement, blockType: string): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
HTMLElement |
Checkbox interaction target. |
|
blockType |
string |
Source block type. |
Returns:
Promise<void>