Skip to main content

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

KeyTypeDescription
handleInfinitebooleanit 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
loadMorefunctionhandler 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>