Skip to main content

CaProductList

A list of product cards

SASS-path: ./styles/components/molecules/ca-product-list.scss

Props​

NameDescriptionTypeRequiredDefault
productsArray of productsArraytrue-
pageSizeCurrent page sizeNumbertrue-
skipCurrent skipNumberfalse0
productCardTypeType of product card, to be able to display slightly different product cards in different product listsStringfalsedefault
productsFetchedAre the products fetched yet?Booleanfalsefalse

Methods​

MethodDescriptionParameters
getPageNumberCalculates what page number each product card is associated withindex of product (Number)