Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Page<T>

It represents a page of results after a repository search call.

Type parameters

  • T

    then model type.

Hierarchy

  • Page

Index

Constructors

constructor

  • new Page<T>(data: T[], pageNumber: number, pageSize: number): Page<T>
  • Constructor.

    Type parameters

    • T

    Parameters

    • data: T[]

      the page data

    • pageNumber: number

      the current page number starting from 1.

    • pageSize: number

      the page size.

    Returns Page<T>

Properties

Readonly data

data: T[]

isLastPage

isLastPage: boolean

Readonly pageNumber

pageNumber: number

Readonly pageSize

pageSize: number

Generated using TypeDoc