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
Promise
support, most public methods returns a promise.shuffle
arguments.stop
arguments.run
has been deleted, this feature can be achieved using promises.constructor
options 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
isStopping
that indicates if the machine is
displaying the stop animation. - While the machine is stopping, the function
stop()
returns the future active element and the parameterisRunning
stilltrue
.