API Reference
/
Vue InstantSearch Widgets
/
ais-stats
Apr. 24, 2019
ais-stats
Widget signature
<ais-stats // Optional parameters :class-names="object" />
About this widget
The ais-stats
widget displays the total number of matching hits and the time it took to get them (time spent in the Algolia server).
Examples
Copy
1
<ais-stats />
Props
class-names
|
type: object
default: {}
Optional
The CSS classes to override.
|
||
Copy
|
Customize the UI
default
|
The slot to override the complete DOM output of the widget. Scope
|
||
Copy
|
HTML output
Copy
1
2
3
<div class="ais-Stats">
<span class="ais-Stats-text">20,337 results found in 1ms.</span>
</div>