Usage
Connector Options
Attributes to use to generate the hierarchy of the menu.
Separator used in the attributes to separate level values.
Prefix path to use if the first level is not the root level.
Show the siblings of the selected parent levels of the current refined value. This does not impact the root level.
Max number of values to display.
Whether to display the “show more” button.
Max number of values to display when showing more.
How to sort refinements. Possible values:
count, isRefined, name:asc, name:desc.Function to transform the items passed to the templates.
Render Options
The values to be rendered.Each item has:
value: Value of the menu itemlabel: Human-readable value of the itemcount: Number of matched results after refinementisRefined: Indicates if the refinement is applieddata: n+1 level of items (same structure)
Sets the path of the hierarchical filter and triggers a new search.
Creates a URL for the next state for a clicked item.
Indicates if search state can be refined.
true if the menu is displaying all items.Toggles the number of values displayed between
limit and showMoreLimit.true if the toggleShowMore button can be activated.Sends an event to the Insights middleware.
The options passed to the connector.