atomic-timeframe (Deprecated)
atomic-timeframe (Deprecated)
|
|
Atomic v1 has been deprecated. We recommend using the latest version of the Coveo Atomic library. |
The atomic-timeframe component defines a timeframe of an atomic-timeframe-facet, and therefore must be defined within an atomic-timeframe-facet component.
A timeframe is a span of time from now to a specific time in the past.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
|
|
The amount of units from which to count. For example: 10 days, 1 year, etc. |
|
|
|
|
The non-localized label for the timeframe. When defined, it will appear instead of the formatted value.
Used in the |
|
|
|
|
The relative period of time to now. |
|
|
|
|
The unit used to define:
- the start date of the timeframe, if the period is |
|