Home > widget-integration > ProductSwatchService > applySingleSwatchSetting
ProductSwatchService.applySingleSwatchSetting() method
Signature:
protected applySingleSwatchSetting(label: HTMLLabelElement, tooltip: HTMLElement | null, swatchBy: SwatchOptionType | null, swatchObj: SwatchSettings): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
label |
HTMLLabelElement | |
|
tooltip |
HTMLElement | null | |
|
swatchBy |
SwatchOptionType | null | |
|
swatchObj |
Returns:
void