Releases: albert-gonzalez/easytimer.js
Releases · albert-gonzalez/easytimer.js
v4.3.1
Changes
- Vendors updated
- Known issues section added to README.md
v4.3.0
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
Changes
- Vendors update
- Syntax highlighting in examples using Prism
- "Default Parameters" example tab fixed (Thanks @igorrosenberg )
- ESLint fixes
v4.1.1
Changes
- Instance now accepts a default config (see README and examples for more information)
- Vendors updated
v4.0.2
Fixes
- added .idea to npmignore (thanks to @ozdemirburak )
- bump libraries to the last version
v4.0.1
Fixes
- Listener parameters are now required in Typescript definition
v4.0.0
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
v3.1.0
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
Fixes
- The following types were added to the TypeScript definition file: 'targetAchieved', 'stopped', 'reset', 'started' and 'paused'