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
| Method | Description | Parameters |
|---|
| setupPagination | Setup pagination | products (Object) |
| loadMore | Load next chunk of products | - |
Computed
| Computed | Type | Description | From Store |
|---|
| skeletonProductsNext | Array | Returns an array of empty objects with same lengt as the nr of products left to load | No |
| allProductsLoaded | Boolean | Are all products loaded? | No |
| showing | String | Returns string of span of products showing right now, for example '10 - 20' | No |