atomic-automatic-facet

This is for:

Developer

An automatic facet is a special type of facet generated by 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 query.

It’s important to note that this component is not typically used on its own. It is internally used by the atomic-automatic-facet-generator component to automatically render updated facets.

To read more about the automatic facet generator feature, see: https://docs.coveo.com/en/n9sd0159/

Properties

Property Attribute Description Type Default

facet (required)

AutomaticFacet

facetId (required)

facet-id

string

field (required)

field

string

isCollapsed (required)

is-collapsed

boolean

searchStatus (required)

SearchStatus

Shadow Parts

Part Description

clear-button

The button that resets the actively selected facet values.

clear-button-icon

The clear button icon.

facet

The wrapper for the entire facet.

label-button

The button that displays the label and allows to expand/collapse the facet.

label-button-icon

The label button icon.

value-checkbox

The facet value checkbox, available when display is 'checkbox'.

value-checkbox-checked

The checked facet value checkbox, available when display is 'checkbox'.

value-checkbox-icon

The facet value checkbox icon, available when display is 'checkbox'.

value-checkbox-label

The facet value checkbox clickable label, available when display is 'checkbox'.

value-count

The facet value count, common for all displays.

value-label

The facet value label, common for all displays.

values

The facet values container.

CSS Custom Content

Name Description

--atomic-facet-checkbox-size

Size of the checkbox.