QuanticResultDate
QuanticResultDate
|
|
Note
This component was introduced in version |
The QuanticResultDate component displays a given result date field value.
Make sure the field specified in this component is also included in the field array for the relevant template. See the this example: Quantic usage.
Example
<template if:true={result.raw.date}>
<c-quantic-result-date result={result} label="Date" field="date"></c-quantic-result-date>
</template>
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
|
|
The result item to use. |
|
|
|
|
The date field whose values you want to display. |
|
|
|
|
(Optional) The label to display. |
|
|
|
|
A function used to format the displayed value. By default, the date is formatted using the browser locale. |
|
XML configuration file elements
The following XML configuration file elements apply (see XML Configuration File Elements).
| Metadata | Value |
|---|---|
|
|
|
|