QuanticResultNumber
QuanticResultNumber
In this article
The QuanticResultNumber
component displays a given result number 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.ytlikecount}>
<c-quantic-result-number result={result} label="Likes" field="ytlikecount"></c-quantic-result-number>
</template>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The result item to use. |
|
|
|
|
The number field whose values you want to display. |
|
|
|
|
(Optional) The label to display. |
|
|
|
|
A function used to format the displayed value. By default, the number is formatted using the browser locale. |
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|