Releases: josex2r/jQuery-SlotMachine
Releases · josex2r/jQuery-SlotMachine
v6.0.0
6.0.0 (2022-11-03)
Features
BREAKING CHANGES
- Lot of things changed, mostly the public API
Promisesupport, most public methods returns a promise.shufflearguments.stoparguments.runhas been deleted, this feature can be achieved using promises.constructoroptions have been shrinked.
v5.0.0
Fixed complete callback
Fixed #20 - Loop when calling complete callback
CSS transitions
- Replaced all js animations by css transforms
- Added stylesheet to customize css classes
Fixed randomize function on stop
Fixed #13 & added destroy method
es6 + optims
2.3.0 New version with es6
Animation performance
Replaced setTimeout by requestAnimationFrame
Spin direction
Now the spin animation direction can be changed!
- Added new setting 'direction'
- Added new method 'setDirection()'
Fixed stop method
- Added new parameter
isStoppingthat indicates if the machine is
displaying the stop animation. - While the machine is stopping, the function
stop()returns the future active element and the parameterisRunningstilltrue.