Skip to content

Releases: albert-gonzalez/easytimer.js

v4.3.1

13 Nov 19:31
Compare
Choose a tag to compare

Changes

  • Vendors updated
  • Known issues section added to README.md

v4.3.0

20 Jun 15:05
Compare
Choose a tag to compare

Changes

  • The library now uses a polyfill of a simple EventEmitter, so it does not depend on any platform anymore.
  • Vendors updated

v4.2.0

14 Jun 18:40
Compare
Choose a tag to compare

Changes

  • Vendors update
  • Syntax highlighting in examples using Prism
  • "Default Parameters" example tab fixed (Thanks @igorrosenberg )
  • ESLint fixes

v4.1.1

22 Dec 11:58
Compare
Choose a tag to compare

Changes

  • Instance now accepts a default config (see README and examples for more information)
  • Vendors updated

v4.0.2

31 Oct 19:44
Compare
Choose a tag to compare

Fixes

  • added .idea to npmignore (thanks to @ozdemirburak )
  • bump libraries to the last version

v4.0.1

22 Jul 14:15
Compare
Choose a tag to compare

Fixes

  • Listener parameters are now required in Typescript definition

v4.0.0

21 Jul 15:58
Compare
Choose a tag to compare

Breaking Changes (TypeScript only)

  • Typescript Definition Changes:
    • Interface TimerValues created
    • Type Event renamed to TimerEventType
    • ITimerParamas renamed to TimerParams
    • Interface TimerEvent created
    • Listener functions now receive an optional parameter called event which implements the TimerEvent interface
    • Callback function now receives an optional parameter which is a Timer
    • target and startValues type changed to TimerValues | [number,number,number,number,number]
    • getConfig function added. It returns a TimerParams object

Changes

  • Vendors updated to the last version

v3.2.0

09 Jun 14:55
Compare
Choose a tag to compare

Changes

  • Vendors updated to the last version

Fixes

  • toString function shows right day values >= 100. Solves #74

v3.1.0

18 Mar 19:41
Compare
Choose a tag to compare

Changes

  • Validation added in the parameters: startValues, target and precision
  • Vendor updates
  • Demo page's styles changed (updated to Bootstrap 4)

v.3.0.1: TypeScript Event Types Added

13 Jan 00:04
Compare
Choose a tag to compare

Fixes

  • The following types were added to the TypeScript definition file: 'targetAchieved', 'stopped', 'reset', 'started' and 'paused'