The TotalHits
component displays the total number of matching hits.
name | Description |
---|---|
content | - |
{% block content %}
<span {{ attributes.defaults({
'class': 'ux-search-total-hits'
}) }} >
{{ 'results'|trans({'%count%': totalHits}, domain='mezcalito_ux_search') }}
</span>
{% endblock %}
<div class="ux-search__stats">
<span class="ux-search-total-hits">
10000 results
</span>
</div>