QuanticTimeframe (Deprecated)
QuanticTimeframe (Deprecated)
|
|
Quantic v1 has been deprecated. Use the latest version of the Coveo Quantic library. |
|
|
Note
This component was introduced in version |
The QuanticTimeframe component defines a timeframe of a c-quantic-timeframe-facet, and therefore must be defined within a c-quantic-timeframe-facet component.
A timeframe is a span of time from now to a specific time in the past, or the future.
Example
<c-quantic-timeframe amount="6" unit="month"></c-quantic-timeframe>
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
|
|
The relative period of time. |
|
|
|
|
The unit used to define:
|
|
|
|
|
The amount of the |
|
|
|
|
The non-localized label for the timeframe. When defined, it will appear instead of the formatted value. |
|
Defaults to the formatted value based on amount, unit, and period. |
XML configuration file elements
The following XML configuration file elements apply (see XML Configuration File Elements).
| Metadata | Value |
|---|---|
|
|
|
|
Associated use cases
This component is also relevant in the following use case: