Skip to main content

Pagination

Add toDiv / container

Role attribute

Every instance of this component carries:

Add this attribute
Namewf-algolia-element
Valuebrowse

Variants

This component ships in several presets.

Load more

Required1 attribute
PaginationRequired

Pagination mode for this browse - set to "load-more".

Accepts load-more · numbered · infinite-scrollDefault load-more

Optional3 attributes
Per page

Hits per page (default 12).

Accepts min 1, whole numbers

Top offset

Pixel offset when auto-scrolling on page change.

Accepts min 0, whole numbers

Fields

Comma-separated list of fields this reset or apply button acts on. An empty value is meaningful - it means "clear nothing".

Accepts e.g. category,brand

Numbered

Required1 attribute
PaginationRequired

Pagination mode for this browse - set to "numbered".

Accepts load-more · numbered · infinite-scrollDefault numbered

Optional2 attributes
Page window

How many numbered page buttons surround the current page.

Accepts min 1, whole numbers

Fields

Comma-separated list of fields this reset or apply button acts on. An empty value is meaningful - it means "clear nothing".

Accepts e.g. category,brand

Required1 attribute
PaginationRequired

Pagination mode for this browse - set to "load-more".

Accepts load-more · numbered · infinite-scrollDefault load-more

Optional3 attributes
Per page

Hits per page (default 12).

Accepts min 1, whole numbers

Top offset

Pixel offset when auto-scrolling on page change.

Accepts min 0, whole numbers

Fields

Comma-separated list of fields this reset or apply button acts on. An empty value is meaningful - it means "clear nothing".

Accepts e.g. category,brand