server-pagination-mixin

The server-pagination mixin is a post-processor mixin, which provides the ability to handle the pagination server side, hence reducing the number of resources fetched on first call.

Used by:

Attributes

limit

The number of resources to fetch.

In this example, the list will show pages of 5 users.

<solid-display
    data-src=http://server/users/"
    fields="username"
    limit="5"
></solid-display>

offset

The offset of the first resource to fetch

In this example, the list will show pages of 5 users, skipping the first ten.

<solid-display
    data-src=http://server/users/"
    fields="username"
    limit="5"
    offset="10"
></solid-display>