Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
#breaking -Square +SemiCircle, and a lot of improvements.tar.gz | 2015-08-04 | 120.9 kB | |
#breaking -Square +SemiCircle, and a lot of improvements.zip | 2015-08-04 | 134.2 kB | |
README.md | 2015-08-04 | 1.0 kB | |
Totals: 3 Items | 256.2 kB | 0 |
Contains API breaking changes compared to 0.8.x:
- Square shape is now removed from the API. It's not very useful bar type. You can still find it from ./src/square.js, you can manually add it to your project
- options.text.autoStyle
is replaced with options.text.style
. If you had autoStyle: false
, you should now use options.text.style = null
. That will disable all default styles. New API for style changes improves the control of inline styles.
- Add options.svgStyle and automatically resizes to the container. width: 100%;
css style is set for the SVG element.
Other additions: - New shape: SemiCircle
- Expose more internal modules for customization Shape and utils are now exposed. https://github.com/kimmobrunfeldt/progressbar.js/commit/ffb151d954d7486a96c2b8ed05a4648a1613f206
- Upgrade to shifty version 1.5.0, easing can be now specified as a function.
- Improve code consistency with linters.