Skip to main content

Results Count

Add toTextDiv / container

Role attribute

Every instance of this component carries:

Add this attribute
Namewf-algolia-element
Valueresults-count
Optional1 attribute
Display template

Display template for the results count. Tokens: {count}/{total} (the match count, identical on Standard Search); on Browse also {shown} (hits on the current page), {page}, {pages}. Unknown tokens render empty. Default "{count} results" (Standard Search) / "Showing {shown} of {total}" (Browse).

Accepts e.g. Showing {shown} of {total}