Package Exports
- jquery-animate-gradient
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jquery-animate-gradient) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
jquery-animate-gradient
Animate gradient colors.
☁️ Installation
$ npm i --save jquery-animate-gradient📝 Documentation
animateGradient(jQueryElement, top, bottom, {}, {}, callback)
Animates a gradient.
Usage:
$.animateGradient(".jQuerySelector", [0, 0, 0], [0, 0, 0], 2000, 100, function () {});
$.animateGradient(".jQuerySelector", [0, 0, 0], [0, 0, 0], 2000, function () {});
$.animateGradient(".jQuerySelector", [0, 0, 0], [0, 0, 0], function () {});Params
- jQuery|String
jQueryElement: The jQuery element or selector. - Array
top: An array of values interpreted byrgb()and representing the top color. - Array
bottom: An array of values interpreted byrgb()and representing the bottom color. - ****
{}: duration The duration of animation in miliseconds (default:1000). - ****
{}: delay Delay of interval (default:100). - Function
callback: The callback function.
😋 How to contribute
Have an idea? Found a bug? See how to contribute.