Statistic

Display statistics.

Basic usage

Countdown

TIP

In formatting it is suggested to be in the range of days

Card usage

Statistic API

Statistic Attributes

AttributeDescriptionTypeDefault
valueNumerical contentnumber0
decimal-separatorSetting the decimal pointstring.
formatterCustom numerical presentationFunction
group-separatorSets the thousandth identifierstring,
precisionnumerical precisionnumber0
prefixSets the prefix of a numberstring
suffixSets the suffix of a numberstring
titleNumeric titlesstring
value-styleStyles numeric valuesstring / object

Statistic Slots

NameDescription
prefixNumeric prefix
suffixSuffixes for numeric values
titleNumeric titles

Statistic Exposes

NameDescriptionType
displayValuecurrent display valueobject

Countdown API

Countdown Attributes

AttributeDescriptionTypeDefault
valuetarget timenumber / Dayjs
formatFormatting the countdown displaystringHH:mm:ss
prefixSets the prefix of a countdownstring
suffixSets the suffix of a countdownstring
titlecountdown titlesstring
value-styleStyles countdown valuesstring / object

Countdown Events

MethodDescriptionType
changeTime difference change eventFunction
finishcountdown end eventFunction

Countdown Slots

NameDescription
prefixcountdown value prefix
suffixcountdown value suffix
titlecountdown title

Countdown Exposes

NameDescriptionType
displayValuecurrent display valueobject

Source

ComponentDocs

Contributors