Skip to main content

MixListPagination

Shared pagination functions for product list Data: currentPage: 1 currentMinCount: 1, currentMaxCount: vm.$config.productListPageSize pageSize: vm.$config.productListPageSize totalCount: 0 productList: [] mainProductList: true

Methods

MethodDescriptionParameters
setupPaginationSetup paginationproducts (Object)
loadMoreLoad next chunk of products-

Computed

ComputedTypeDescriptionFrom Store
skeletonProductsNextArrayReturns an array of empty objects with same lengt as the nr of products left to loadNo
allProductsLoadedBooleanAre all products loaded?No
showingStringReturns string of span of products showing right now, for example '10 - 20'No