QuanticFacetValue

The QuanticFacetValue component is used by a facet component to display a formatted facet value and the number of results with that value.

Example

<c-quantic-facet-value onselectvalue={onSelect} item={result} is-checked={result.checked} display-as-link={displayAsLink} formatting-function={formattingFunction}></c-quantic-facet-value>

Properties

Property Attribute Description Type Default

item (required)

item

The facet value to display.

FacetValueBase

isChecked

is-checked

Whether the checkbox is checked.

boolean

false

displayAsLink

display-as-link

Whether the facet value should display as a link.

boolean

false

formattingFunction

formatting-function

A function used to format the displayed value.

function

undefined

isRangeFacet

is-range-facet

Whether the facet value belongs to a range facet.

boolean

false

Custom Events

The component fires the following custom event:

  • selectvalue

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

53.0

isExposed

false

Associated Use Cases

This component is also relevant in the following use case: