pughpugh / react-countdown-clock

HTML5 canvas countdown clock React component
ISC License
187 stars 83 forks source link

Get current lapsed time on pause #28

Open stanonyime opened 7 years ago

stanonyime commented 7 years ago

Thank you for this great widget. It will be nice to pass a prop to the component and have it stopped and get the current time lapsed

evanlesmez commented 6 years ago

Just bumping this. Would have made our project a lot nicer to keep the current timer state across different routed pages but I can't figure out how to get the current time elapsed

LennyLip commented 6 years ago

@evanlesmez in my case I used own timer for this. see (search by "timer" word): https://github.com/nscozzaro/physics-is-beautiful/blob/4f887b8690e914aef232bcb0f267dcec658961af/curricula/static/curricula/js/games/unit_conversion.jsx#L1259 Hope this will help