JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 32
  • Score
    100M100P100Q53030F
  • License MIT

Animate gradient colors.

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

Patreon PayPal AMA Version Downloads Get help on Codementor

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 by rgb() and representing the top color.
  • Array bottom: An array of values interpreted by rgb() 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.

💰 Donations

Another way to support the development of my open-source modules is to set up a recurring donation, via Patreon. 🚀

PayPal donations are appreciated too! Each dollar helps.

Thanks! ❤️

📜 License

MIT © Ionică Bizău