N
N
Nik Gubin2016-07-19 13:08:55
JavaScript
Nik Gubin, 2016-07-19 13:08:55

What js library can replace animate jQuery?

Good afternoon friends. There is a project, two methods are used inside: fadeTo and animate from jQuery.
The rest is simply not necessary and there is no point in loading the entire library (even min).

There was an idea to pull out the necessary methods from the source code by hand, but I don’t want to waste time looking for dependencies.

Who can suggest a library that will weigh many times less and be able to help me with this issue? Or maybe someone before me already made a fork of jQuery animation?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexander Aksentiev, 2016-07-19
@Sanasol

youmightnotneedjquery.com/#effects

A
Alexander Loginov-Solonitsyn, 2016-07-19
@kasheibess

I only know velocityjs.org and greensock.com/tweenlite.
In general, load jquery from the official cdn and most users will already have it in the cache

N
Nik Gubin, 2016-07-19
@gubin_niko

Thank you all for participating in the issue. I'll sum it up in case it's useful to someone.
To be clear, I'm designing dynamic banners for later upload to AdWords.
You can't use external links according to the rules, but there are exceptions, which can be found at the link in the help.
I decided to stop there, use the library from cdn. Now I'm looking at TweenLite.js + CSSPlugin from GreenSock

N
napa3um, 2016-07-19
@napa3um

https://github.com/web-animations/web-animations-js

I
iNeedHelp, 2016-07-19
@iNeedHelp

Look towards wow.js and animate.css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question