Add simulated time props to rux-clock #936
Replies: 3 comments
-
|
Thanks for raising this! I'm working on a proposal for a new, more generic clock segment component that should fit this use case nicely. The current Clock is composed of several clock-like atoms (a datetime + label), but those pieces aren't flexible enough. This new component would behave more like the AOS/LOS timestamps and would allow you to control the time yourself. I'll follow up as soon as I have more details regarding status/priority/timeline |
Beta Was this translation helpful? Give feedback.
-
|
we've added a new |
Beta Was this translation helpful? Give feedback.
-
|
we've just released 7.5.0 which includes the new static attribute to clock |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
rux-clock is always ticking. It would be nice if the clock could be used as to display simulated time as well. The
date-inprop is nice to set the time of the clock, but the clock continues to tick afterwards. It would be nice be able to set the time withdate-inand then control when the clock ticks, either by aplay/pauseprop or by continuously setting thedate-inprop.A use-case for this is when running a simulation at a certain datetime, having the clock reflect the current time in the simulation even when the simulation is paused.
Beta Was this translation helpful? Give feedback.
All reactions