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 traditional facets that need to be explicitly defined and requested in the query, automatic facets are dynamically generated by the index in response to the search query.
It dynamically creates multiple atomic-automatic-facet
components based on the desiredCount prop.
To read more about the automatic facet generator feature, see: https://docs.coveo.com/en/n9sd0159/
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>