fdk-infinite-collections
Infinite Colections Action Component
Tag
fdk-infinite-colections
Description
This action component is used to provide infinite loading functionality for listing collection items on collection page.
Props
Key | Type | Description |
---|---|---|
handleInfinite | boolean | It handles whether you want to use infinite loading or just load more data manually. If its true then infinite listing will be handled by this component, otherwise on false value user can use its function to load more data manually. |
loadMore | function | Handler to make the next API call and fetch data if there is next page. |
Example
<fdk-infinite-collections :handleinfinite="true">
<template slot-scope="collectionListing">
//code for collection listing
</template
</fdk-infinite-collections>