Releases: joshmcrty/Flurry
Releases · joshmcrty/Flurry
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
Drops legacy browser support in favor of modern technologies including CSS transforms, CSS transitions, and requestAnimationFrame for better performance. Polyfills are provided automatically to extend support for older browsers but has not been tested.
This version also updates some of the available options and provides a new "destroy" method to tear down a plugin instance (good for toggling snow on/off).
0.4.0
- Modified how the plugin is applied to an element on the page. Now uses typical jQuery "select an element, then do something to it" paradigm. Prior to this change you could use
$().flurry()
and pass an optionalcontainer
option to target a specific element. Now you should use$('body').flurry()
to render snowflakes on the entire page or$('.snowflakes').flurry()
to render snowflakes on a specific element (an element with the "snowflakes" class in this example). - Added a
useRelative
option that appliesposition: relative
to the element that the snowflakes will be rendered within. Defaults totrue
. - Added a
useTransition
option that uses CSS transitions instead of jQuery's.animate()
method to animate the snowflakes. This checks for browser support and falls back to.animate()
if necessary. - Updated the
preventScroll
option to applyoverflow: hidden
instead ofoverflow-x: hidden
. - Added
pointer-events: none
CSS to flakes to prevent make them less intrusive on browsers that support this CSS property.
0.3.0
This release adds a container
setting contributed by @miguelleite that allows you to generate flakes in a specific container instead of just using the body
element.