fdk-brands-listing
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>