IkasBlogList
data
IkasBlog[]Refer to the IkasBlog reference.
limit
numberPage size limit for pagination.
page
numberCurrently displayed page number.
count
numberTotal data count.
pageCount
numberTotal page count.
isInitialized
booleantrue
if the list is initalized and first page of data is fetched, false
otherwise.
isStatic
booleanhasPrev
booleantrue
if there is a previous page available for pagination, false
otherwise.
hasNext
booleantrue
if there is a next page available for pagination, false
otherwise.
isLoading
booleangetPrev
functionFunction to get the previous page data with pagination. Generally being used for infinite scrolls. This function updates the data array.
function getPrev(): Promise<void>
getNext
functionFunction to get the next page data with pagination. Generally being used for infinite scrolls. This function updates the data array.
function getNext(): Promise<void>
getPage
functionFunction 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.
toJSON
functionfunction toJSON(): { data: IkasBlog[]; type: IkasBlogListType; limit: number; page: number; count: number; initialized: boolean; minPage: number | null | undefined; blogListPropValue: IkasBlogListPropValue; filterCategoryId: string | null;}