fdk-infinite-collections
You are reading an outdated document
Get the latest developer guides on Fynd Partners Help
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 that you want to use infinite loading or just load more data manually, if its true than 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>