Skip to content

how can i do pagination and down scroll load more #130

Open
@ahmetkuslular

Description

@ahmetkuslular

A very nice package, thank you. I have two problems.

  1. I want to handle the situation at the top and load more in front of the page.
  2. I want to do pagination. more precisely, I want to get on which page it is with call back.
const changedPage = (page) => {
          console.log (page)
}
/*
  * currentPage = 2
  * scrolls down output: 3
  * scrolls up output: 1
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions