jquery-animate-gradient

1.1.11 • Public • Published

jquery-animate-gradient

Support me on Patreon Buy me a book PayPal Ask me anything Version Downloads Get help on Codementor

Buy Me A Coffee

Animate gradient colors.

☁️ Installation

# Using npm 
npm install --save jquery-animate-gradient
 
# Using yarn 
yarn add jquery-animate-gradient

❓ Get Help

There are few ways to get help:

  1. Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
  2. For bug reports and feature requests, open issues. 🐛
  3. For direct and quick help, you can use Codementor. 🚀

📝 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.

💖 Support my projects

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the projects you like 🚀

  • Buy me a book—I love books! I will remember you after years if you buy me one. 😁 📖

  • PayPal—You can make one-time donations via PayPal. I'll probably buy a coffee tea. 🍵

  • Support me on Patreon—Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).

  • Bitcoin—You can send me bitcoins at this address (or scanning the code below): 1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6

Thanks! ❤️

📜 License

MIT © Ionică Bizău

Package Sidebar

Install

npm i jquery-animate-gradient

Weekly Downloads

1

Version

1.1.11

License

MIT

Unpacked Size

10.2 kB

Total Files

4

Last publish

Collaborators

  • ionicabizau