atomic-timeframe
atomic-timeframe
This is for:
DeveloperThe 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. E.g., 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 |
|