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
| Name | Description | Type | Required | Default |
|---|
| variants | A list of variants (VariantType from the API) | Array | true | - |
| variantsData | Variants picker data. A object consisting of variantDimensions, chosenSku and hasMultipleDimensions passed from MixVariantHandler | Object | true | - |
| title | The title for the picker | String | false | - |
| type | The type of picker to use. Accepts color, display, panel & image | color, display, panel, image | false | panel |
Events
| Event Name | Description | Parameters |
|---|
| replaceProduct | - | - |
| changeSku | - | - |
| notify | - | - |
Slots
| Name | Description | Default Slot Content |
|---|
| title | - | - |