Skip to main content

IkasProductList

Refer to the IkasProduct reference.

Refer to the IkasProductFilter reference.

Refer to the IkasProductListSortType reference.

limitnumber

Refer to the IkasThemeJsonPageType reference.

pagenumber
minPagenumber
countnumber
pageCountnumber
searchKeywordstring
searchKeywordsetter
function searchKeyword(value: string): string
value
:
string
isInitializedboolean
isFilterableboolean
isStaticboolean
isDiscountedboolean
isRecommendedboolean
isLastViewedboolean
isRelatedProductsboolean
isSearchboolean
hasPrevboolean
hasNextboolean
isLoadingboolean
filterQueryParamsstring

Refer to the IkasFilterCategory reference.

hasAppliedfilterboolean | undefined
isFeaturedSortEnabledboolean
clearFiltersfunction
function clearFilters(): void
getPrevfunction
function getPrev(): Promise<void>
getNextfunction
function getNext(): Promise<void>
getPagefunction
function getPage(page: number): Promise<void>
page
:
number
setSortTypefunction
function setSortType(sortType: IkasProductListSortType): Promise<void>
sortType
:
IkasProductListSortType
onFilterCategoryClickfunction
function onFilterCategoryClick(filterCategory: IkasFilterCategory, disableRoute = false): Promise<void>
filterCategory
:
IkasFilterCategory
disableRoute
:
boolean
toJSONfunction
function toJSON(): { data: IkasProduct[]; type: IkasProductListType; pageType: IkasThemeJsonPageType; sort: IkasProductListSortType; limit: number; page: number; count: number; searchKeyword: string; initialized: boolean; minPage: number | null | undefined; filterBrandId: string | null | undefined; filterCategoryId: string | null | undefined; filterCategories: IkasFilterCategory[] | null | undefined; filters: IkasProductFilter[] | null | undefined; recommendFor: string | null | undefined; productListPropValue: IkasProductListPropValue; pageSpecificData: IkasBrand | IkasCategory | null | undefined;}
setVisibleInfiniteScrollPagefunction
function setVisibleInfiniteScrollPage(page: number): void
page
:
number