Skip to main content

IkasBrandList

Refer to the IkasBrand reference.

Refer to the IkasBrandListSortType reference.

limitnumber

Page size limit for pagination.

pagenumber

Currently displayed page number.

countnumber

Total data count.

pageCountnumber

Total page count.

isInitializedboolean

true if the list is initalized and first page of data is fetched, false otherwise.

isStaticboolean
hasPrevboolean

true if there is a previous page available for pagination, false otherwise.

hasNextboolean

true if there is a next page available for pagination, false otherwise.

isLoadingboolean
getPrevfunction
Function to get the previous page data with pagination. Generally being used for infinite scrolls. This function updates the data array.
function getPrev(): Promise<void>
getNextfunction
Function to get the next page data with pagination. Generally being used for infinite scrolls. This function updates the data array.
function getNext(): Promise<void>
getPagefunction
Function to get page data for the specified page. Generally being used with page based paginations, rather than infinite scrolls. This function updates the data array.
function getPage(page: number): Promise<void>
page
:
number
The requested page number.
setSortTypefunction
function setSortType(sortType: IkasBrandListSortType): Promise<void>
sortType
:
IkasBrandListSortType
New sort type.
toJSONfunction
function toJSON(): { data: IkasBrand[]; type: IkasBrandListType; sort: IkasBrandListSortType; limit: number; page: number; count: number; initialized: boolean; minPage: number | ... 1 more ... | undefined; brandListPropValue: IkasBrandListPropValue;}