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