Skip to content

Releases: vydimitrov/use-elapsed-time

v3.0.3

06 Jan 10:17
Compare
Choose a tag to compare

Big fix:

  • Replay the animation when the duration increases after the initial animation is over

Improvements:

  • Update codecov pipeline to report test coverage

v3.0.2

05 Sep 13:17
Compare
Choose a tag to compare

Fix an issue where reset method did not check if the newStartAt value is a number

v3.0.1

20 Jun 12:23
Compare
Choose a tag to compare
  • Fix an issue where the new updateInterval prop didn't really respect that elapsed time. Now, for example, if it is set to 10 seconds then the next update will be exactly after 10 seconds.
  • newStartAt value can now be passed to the onComplete callback as well as the reset method. This feature was available in v2 of the hook and it is implemented again in v.3

v3.0.0

18 Jun 07:16
e0f5888
Compare
Choose a tag to compare

The hooks is now written in TypeScript.

Breaking Changes:

  • IE is not longer supported
  • autoResetKey props has been deprecated
  • reset method of the hook return value no longer accepts newStartAt. When it is fired the animation will start over from the initially provided startAt value
  • onComplete return value does not accept newStartAt

New features:

  • updateInterval prop now controls how often the hook should rerender. Set as a number in seconds
  • onUpdate callback will be fired with the current elapsed time when the elapsedTime changes.

Chore:

  • example folder is added, which can we be used for development or testing the hook

v2.1.8

13 May 15:29
Compare
Choose a tag to compare
  • Update dependencies
  • Add list of supported browsers

v2.1.7

25 Mar 09:04
Compare
Choose a tag to compare

chore: update dependencies

v2.1.6

16 Dec 14:42
Compare
Choose a tag to compare

In this release the Renovate app is added to the repo and all dependency versions are dumped. No new features are introduced.