atomic-automatic-facet-generator
atomic-automatic-facet-generator
This is for:
DeveloperThe atomic-automatic-facet-generator
is a component that renders the facets from
the automatic facets feature. Unlike regular facets, which need to be explicitly defined
and requested in the query, automatic facets are dynamically generated by the index
in response to the search query.
Note: This component renders one or more automatic facets based on the desiredCount
property.
To learn more about the automatic facet generator feature, see: About the Facet Generator.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The desired count of automatic facets. Minimum: |
|
|
|
|
The desired number of automatically generated facet values. Minimum: |
|
|
Methods
updateCollapseFacetsDependingOnFacetsVisibility
Signature: updateCollapseFacetsDependingOnFacetsVisibility(collapseAfter: number, numberOfVisibleFacets: number) => Promise<void>
Returns: Promise<void>