mTween - A small tween easing animation library
Gsap is a great animation library, it is very powerful. But there are a few disadvantages is that the size is slightly larger. Sometimes I just want to implement a basic animation, may not want to introduce a large library, so I am based on gasp Made some cuts, thank you very much to the original author
Features
A small tween easing animation library, which is very small in size. Suitable for mobile project applications. Ported from gsap animation library.
- Small size, only 10kb gzip
- Retains most of tweenlite's features.
- Basic dom animations like scale, x, y
Usage
Directly on the page reference
Or install using npm
npm install mtween --save
...
import mTween from 'mtween';
Useage:
mTween; mTween; mTween;
Build
Node is a dependency, use terminal to install it with with:
build package
npm installnpm run build
es6 lint
npm run lint
License
LicenseFinder is released under the MIT License. http://www.opensource.org/licenses/mit-license