ECountdown Countdown
Examples
Standalone countdown
Properties
countdownboolInterpret the statistic value as a target time and show time remaining.
truedecimalSeparatorstringDecimal separator for statistics.
Localized textenabledboolAllow interaction; false disables the control.
trueformatstringDisplay format: date/time pattern, progress callback or countdown time placeholders.
"HH:mm:ss"formattervarFormatting callback converting a value to displayed text.
nullgroupSeparatorstringThousands separator for statistics.
Localized textheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeightprecisionintNumber of decimal places.
0prefixstringPrefix or suffix text; Mention prefix is a trigger character or character array.
""prefixDelegateComponentComponent slot for custom prefix; null uses the default content. See this page’s examples for delegate context.
nullsuffixstringPrefix or suffix text; Mention prefix is a trigger character or character array.
""suffixDelegateComponentComponent slot for custom suffix; null uses the default content. See this page’s examples for delegate context.
nulltitlestringTitle text.
""titleDelegateComponentComponent slot for custom title; null uses the default content. See this page’s examples for delegate context.
nullvaluevarTarget time as a Date-compatible value or Unix timestamp in milliseconds.
0visibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidthdisplayValuestringRead onlyDisplay text after formatting, progress or badge rules.
Computed at runtimeremainingrealRead onlyCountdown time remaining in milliseconds.
Computed at runtimeSignals
finished()Emitted when the countdown reaches its end time.
changed(real remaining)Emitted on a countdown update; remaining is the remaining time.
finish()Emitted when the countdown finishes.