Skip to content

1.0.0

Compare
Choose a tag to compare
@catdad catdad released this 22 Dec 14:38
· 296 commits to master since this release

πŸŽ‰πŸŽ‰ The module is now at 1.0.0! πŸŽ‰πŸŽ‰

  • Whenever possible, confetti will use a web worker for rendering animation so that it is not doing heavy work on the main thread, and also to allow you to do heavy blocking work without affecting the animation. The default confetti() method will use workers for rendering by default whenever possible, and fall back to main thread rendering when it is not supported. If you are creating a custom canvas or would like to turn this off because you enjoy blocking the main thread, see the new useWorker option on confetti.create() - see #83
  • Fixes a bug that caused animation to speed up on high refresh rate monitors - see #90
  • [Internal] Prefixed versions of requestAnimationFrame will no longer be used. There is a fallback that will be used on all browsers that do not support the official requestAnimationFrame. This should not affect usage of the module's API, though it may change some characteristics about the animation on older browsers - see #86