Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • { limit: number }
    • PaginationComponent

Index

Properties

Methods

Properties

limit

limit: number

The limit per page.

Methods

paginate

  • Computes the pagination object.

    Parameters

    • page: number

      The page number to paginate for.

    Returns PaginationPaging

    The pagination object.

skip

  • skip(page: number): number
  • Calculates the skip count for the provided page and current limit.

    Parameters

    • page: number

      The page number to skip to.

    Returns number

    The skip count.

Legend

  • Property
  • Method

Generated using TypeDoc