QuanticDateFacet Component
QuanticDateFacet Component
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 |
---|---|---|---|---|
|
|
The ID of the engine instance the component registers to. |
|
|
|
|
A unique identifier for the facet. |
|
Defaults to the |
|
|
The index field whose values the facet should use. |
|
|
|
|
The non-localized label for the facet. This label is displayed in the facet header. |
|
|
|
|
The number of values to request for this facet, when there are no manual ranges. |
|
|
|
|
The function used to format the date facet value label.
The default result format is the following: |
|
|
|
|
Whether the facet is collapsed. |
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|