QuanticDateFacet

The QuanticDateFacet component displays facet values as date ranges.

Example

<c-quantic-date-facet engine-id={engineId} facet-id="myfacet" field="date" label="Date" number-of-values="5" formatting-function={formattingFunction} is-collapsed></c-quantic-date-facet>

Properties

Property Attribute Description Type Default

engineId (required)

engine-id

The ID of the engine instance the component registers to.

string

facetId

facet-id

A unique identifier for the facet.

string

Defaults to the field value.

field (required)

field

The index field whose values the facet should use.

string

label (required)

label

The non-localized label for the facet. This label is displayed in the facet header.

string

numberOfValues

number-of-values

The number of values to request for this facet, when there are no manual ranges.

number

8

formattingFunction (required)

formatting-function

The function used to format the date facet value label. The default result format is the following: [start] - [end]

function

isCollapsed

is-collapsed

Whether the facet is collapsed.

boolean

false

XML Configuration File Elements

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

Metadata Value

apiVersion

53.0

isExposed

false