atomic-facet-manager
atomic-facet-manager
This is for:
DeveloperThe atomic-facet-manager
helps reorder facets and their values to match the most recent search response with the most relevant results.
facet components that are slotted within an atomic-facet-manager
are removed and reattached to the DOM by the facet manager.
This means that the Stencil lifecycle applies to the slotted facets.
If you create your own custom facet component and slot it inside of the atomic-facet-manager
, it will have to be able to handle the Stencil reattachment lifecycle.
Alternately, you can place your custom component outside of the atomic-facet-manager
, in which case the Stencil lifecycle won’t apply.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The number of expanded facets inside the manager. Remaining facets are automatically collapsed. Using the value |
|
|
Slots
Slots let you write custom HTML at a specific place inside a web component.
Slot | Description |
---|---|
|
Facet components are slotted within to leverage this functionality. |