Home > widget-integration > QuickAddToCartController > handleOptionSelect
QuickAddToCartController.handleOptionSelect() method
Signature:
protected handleOptionSelect(option: HTMLElement, popupSelection: HTMLElement, productVariants: ProductItemVariant$3[], state: VariantSelectionState): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
option |
HTMLElement | |
|
popupSelection |
HTMLElement | |
|
productVariants |
ProductItemVariant$3[] | |
|
state |
Returns:
void