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.
-
rux-clock is always ticking. It would be nice if the clock could be used as to display simulated time as well. The
date-in
prop 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-in
and then control when the clock ticks, either by aplay/pause
prop or by continuously setting thedate-in
prop.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