fdk-brands-listing
Deprecation Notice
Vue-based themes will soon be deprecated. Please switch to React-based themes, as all future updates and support will focus exclusively on React.
Brands Listing Action Component
Tag
fdk-brans-listing
Description
This action component is used to handle the brand listing and provides functionality for infinite listing support in this listing. It internally makes the necessary API calls for brands.
Props
Key | Type | Description |
---|---|---|
has_next | boolean | If there is next page to be fetched then this flag turns true, else false. |
loadmore | function | Handler for making next API call and returning next brand's page data. |
Example
<fdk-brands-listing>
<template slot-scope="brandListing">
<fdk-infinite-scrolling
v-on:loadmore="brandListing.loadmore"
:loadingData="context.brands.loading"
>
//code for brands card
</fdk-infinite-scrolling>
</template>
</fdk-brands-listing>