atomic-result-timespan
atomic-result-timespan
This is for:
DeveloperSee Display results to learn more about customizing your result templates.
The atomic-result-timespan
component renders a target result number field value as a duration.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The target result field.
The component first looks for the field in the Result object, and then in the Result.raw object.
It is important to include the necessary field in the |
|
|
|
|
The format to apply to the result field value. By default, the format is HH:mm:ss when the duration is under a day, and it is an approximation when longer (days, months or years). The string displayed when there is an approximation can be modified with localization. Available formats: https://day.js.org/docs/en/durations/format |
|
|
|
|
The unit of measurement of the field value. Available units: https://day.js.org/docs/en/durations/creating |
|
|