Skip to content

Investigate possibility of Window.hasPrevious() #2795

Open
@mp911de

Description

@mp911de

For scrolling across results, we already provide a hasNext indicator. It would be good to have a hasPrevious state as well.

For offset-based scrolling, we can get the information from the offset (e.g. a scroll that starts at offset 1 will not have a previous page). For keyset-scrolling, we would need to read from the current cursor and read another item more (two more in total) to determine a previous and next indicator).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions