v2.0.0
fireworks-js v2
Breaking Changes
Core
Options
brightness: {
min: 50,
max: 80,
- decay: {
- min: 0.015,
- max: 0.03
- }
},
+decay: {
+ min: 0.015,
+ max: 0.03
+}
API
const fireworks = new Fireworks(container)
- fireworks.setSize()
+ fireworks.updateSize()
- fireworks.setOptions()
+ fireworks.updateOptions()
- fireworks.setBoundaries()
+ fireworks.updateBoundaries()
React component
- import { Fireworks } from 'fireworks-js/dist/react'
+ import { Fireworks } from '@fireworks-js/react'
What's Changed
- fireworks-js v2 by @crashmax-dev in #63
- added issues template by @crashmax-dev in #67
- added more examples by @crashmax-dev
Packages
- @fireworks-js/react
- @fireworks-js/preact
- @fireworks-js/solid
- @fireworks-js/vue
- @fireworks-js/svelte
- @fireworks-js/angular
- @fireworks-js/lit
Full Changelog: v1.4.1...v2.0.0