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

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

Unresolved directive in search-facet-value-component.adoc - include::/_includes/asciidoc/reference/quantic-search-facet-value-handwritten-reference.adoc[tag=1.13.10.1]

What's Next for Me?