Home > widget-integration > ProductSwatchService > applySwatchSettings

ProductSwatchService.applySwatchSettings() method

Signature:

applySwatchSettings(container: Element, optionsWithValues: OptionsWithValues$2[] | undefined, swatchSettings: Record<string, SwatchSettings> | undefined): void;

Parameters

Parameter

Type

Description

container

Element

optionsWithValues

OptionsWithValues$2[] | undefined

swatchSettings

Record<string, SwatchSettings> | undefined

Returns:

void