Components
countdown
8min
Countdown
Core structure | |
expiresAt | Add a date, date/time or time when the countdown must expire/stop, either using: - datasource, e.g. [email protected] - expression, e.g. =$fromMillis($toMillis($now()) + 50000) - string, e.g. "2023-09-20 18:00", or "2023-07-25T17:30:00+02:00" |
Other options | |
align | center, left, right, and stretch, with center as the default if the property is not specified in the YAML. |
labels | isVisible - true or false with true as the default. Setting false will hide the countdown component. position - The countdown labels of Days : Hours : Minutes: Seconds are shown at the bottom or top of the countdown. |
size | Choose from extra-large, large, medium, small, with large being the default if the property is not specified in the YAML. |
- This component's function is to countdown to a predefined date/time. It is not recommended to use the component as a timer.
- The component.countdown can only be used in a jig.default.
- The countdown's separator is by default shown as a colon :.
- Use any inputs for the countdown configuration, for example, different types of datasources, states and inputs.
- Use the set-state and reset-state actions to set and reset the countdown.