Skip to content
This repository was archived by the owner on Jul 4, 2021. It is now read-only.
This repository was archived by the owner on Jul 4, 2021. It is now read-only.

Feature request: Infinite mode with total records #385

@tilwinjoy

Description

@tilwinjoy

I have an API that returns the number of records, but not the "next", "previous" headers/response data. I want to fetch info from this API using infinite scroll.

Currently if I try to use "server" mode with total records every request will clear previous models.
If I try to use "infinite" mode I need to generate the links myself.

It'd be cool if the plugin requests next page as in "server" mode when "total_records" is available instead of looking for links in "infinite" mode.

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