Constructors
constructor
- new Paging(service: Service<TData>, statistics: any, filter: object): Paging
-
Parameters
-
service: Service<TData>
-
statistics: any
-
filter: object
Properties
currentPage
currentPage: number
nextPage
nextPage: number
pageSize
pageSize: number
prevPage
prevPage: number
totalPages
totalPages: number
Methods
goto
- goto(page: number, filter?: object): Promise<IResultList<TData>>
-
Parameters
-
page: number
-
Default value filter: object = {}
Returns Promise<IResultList<TData>>
list
-
Parameters
-
Default value filter: object = {}
Returns Promise<IResultList<TData>>
next
-
Parameters
-
Default value filter: object = {}
Returns Promise<IResultList<TData>>
prev
-
Parameters
-
Default value filter: object = {}
Returns Promise<IResultList<TData>>