Releases: karolsw3/gradientify
Completely new version
v.3.2.0
In this release some function names have been changed to more relative ones, and function of getting presets has been assigned to the Gradientify element to make it possible to call it outside the library scope. This function now supports callback, so when the presets are loaded - the callback is called.
Thanks to that we are sure that the presets are loaded only once, and we can call function to load our gradients from the presets when the callback has been fired.
v.3.1.0
In this release function .gradientifize has been splitted up into two functions: .load and .create .
Load function is responsible for loading gradients from presets.JSON, and create function is responsible for creating custom animated gradients.
Also the Babel compiler has been included to the library to compile ES6 code to classic javascript.
Thanks for that the library will work on old browsers, which are not supporting ES6 syntax.
v.3.0.0
The whole library has been simplified by reducing it's code and changing method to add new animated gradients.
To initialize the library you have to assign it to a variable:
var gf = Gradientify()
And then just use its methods to make new animated backgrounds:
gf.gradientifize(document.body, [
'linear-gradient(60deg, rgb(255, 91, 91), rgb(0, 0, 255))',
'linear-gradient(10deg, rgb(180, 132, 203), rgb(255, 0, 155))',
'radial-gradient(at center center, rgb(75, 35, 148), rgb(0, 71, 57))',
'linear-gradient(130deg, rgb(235, 23, 223), rgb(25, 89, 135), rgb(15, 189, 176))'
], 2600)
v.2.0.0
Basic release
This release includes basic function for creating own background gradient animations on a specified element.