Releases: TheBlindHawk/Roulette
Releases · TheBlindHawk/Roulette
v/1.3.4
Version Updates
- Updated and fixed README
- improved the code to mainly use d3-selection
v/1.3.3
Version Updates
- FIXED: roll probabilities calculations off by 1
- FIXED: roll probabilities always logs an error message
- FIXED: cannot change the container id from "roulette"
v/1.3.2
Version Updates
- font size, weight and color can be customized via setTextFont()
- removed all unused d3 dependecies
v/1.3.1
removed unnecessary dependency from package.json
v/1.3.0
1.3 Version Updates
- you can now rotate the text at will!
- the default "click" sound not playing has been fixed
- custom arrow svg element has been tested
v/1.2.1
Version 1.2.1
- minor fix to hide default sound error messages in the console
- minor README fixes
v/1.2.0
Version 1.2
- you can now customize roll probabilities!
- you can roll on a random number instead of a fixed one
- addRollText() => setRollText() for better comprehention
- you can now change the arrow svg with a custom element (beta ver.)
v/1.1.0
refactoring of roulette draw method
Version 1.1
- changes/fix to export method
- Roulette() now requires the id of the div
- customizable colors!
v/1.0.0
might have issues on export, if so change the following inside index.js:
module.exports = class Roulette {
export class Roulette {