Belin.io Core
    Preparing search index...

    Class PaginatedList<T>

    A list with information relevant to the pagination of its items.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    items: T[]

    The list items.

    pagination: Pagination

    The information relevant to the pagination of the list items.

    Accessors

    Methods

    • Returns a new iterator that allows iterating the items of this list.

      Returns IterableIterator<T>

      An iterator over the items of this list.

    • Creates an empty paginated list.

      Type Parameters

      • T

      Parameters

      • pageSize: number

        The number of items per page.

      Returns PaginatedList<T>

      An empty paginated list with the specified number of items per page.