This component does not need to be implemented and can be removed in major versions.
<div class="ais-NumericSelector">
<select class="ais-NumericSelector-select">
<option class="ais-NumericSelector-option" value="10">Top 10</option>
<option class="ais-NumericSelector-option" value="500">Top 500</option>
</select>
</div>
Hint: hover classes below to see their position.
name | description |
---|---|
.ais-NumericSelector
|
the root div of the widget |
.ais-NumericSelector-select
|
the select |
.ais-NumericSelector-option
|
the select options |
Note: this is a guideline for new InstantSearch flavours, not a rule.
name | default value | description |
---|---|---|
transformItems
|
|
Function which receives the items, which will be called before displaying them. Should return a new array with the same shape as the original array. Useful for mapping over the items to transform, remove or reorder them |
Note: there are no translations for this widget