Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Paging<TData>

Type parameters

  • TData

Hierarchy

  • Paging

Index

Constructors

constructor

  • new Paging(service: Service<TData>, statistics: any, filter: object): Paging
  • Parameters

    • service: Service<TData>
    • statistics: any
    • filter: object

    Returns Paging

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>>

Generated using TypeDoc