Skip to main content

CaVariantPicker

The shell for all variant pickers. displays the title above and the picker chosen by type below

SASS-path: ./styles/components/molecules/ca-variant-picker.scss

Props

NameDescriptionTypeRequiredDefault
variantsA list of variants (VariantType from the API)Arraytrue-
variantsDataVariants picker data. A object consisting of variantDimensions, chosenSku and hasMultipleDimensions passed from MixVariantHandlerObjecttrue-
titleThe title for the pickerStringfalse-
typeThe type of picker to use. Accepts color, display, panel & imagecolor, display, panel, imagefalsepanel

Events

Event NameDescriptionParameters
replaceProduct--
changeSku--
notify--

Slots

NameDescriptionDefault Slot Content
title--