Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TokenShort description
displayNameHuman-readable name shown in the structure panel.
dateTarget date/time for the countdown (Date or parseable string).
formatWhich time units to show (days / hours / minutes / seconds).
updateIntervalInMSRefresh rate in milliseconds (default 1000).
expiredTextText shown once the countdown reaches/passes the target time.
widthAutoAuto-size to content (true) or fill container (false).
showTimerIconToggle a decorative timer/clock icon.
eventsContainer for the component’s event handlers.
ON_INIT (eventsEvents)Fires when the component is initialized (setup).
ON_DESTROY (eventsEvents)Fires when the component is removed (cleanup).
ON_GLOBAL_PARAMETERS_CHANGE (eventsEvents)Fires when relevant global parameters change.
ON_DATA_HUB_CHANGE (eventsEvents)Fires when the Data Hub context/state changes.
ON_EXPIRED (eventsEvents)Fires once when the target time is reached/passed.

...