QuanticResultNumber

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

result (required)

result

The result item to use.

Result

field (required)

field

The number field whose values you want to display.

string

label

label

(Optional) The label to display.

string

none

formattingFunction (required)

formatting-function

A function used to format the displayed value. By default, the number is formatted using the browser locale.

function

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

56.0

isExposed

false