RAFManager - a simple requestAnimationFrame animation manager
RAFManager is a simple requestAnimationFrame animation manager. With RAFManager you can control the addition/deletion animations globally with precision.
The important thing is that it has only a few dozen lines of code, and the size is so small that you can ignore it.
Use directly in the page
Or install using npm
npm install raf-manager --save...;
// add animation func -- auto startRAFManager;// remove animation func -- auto stopRAFManager;// start and stopRAFManagerstart;RAFManager;
Node is a dependency, use terminal to install it with npm:
npm installnpm run build
npm run lint
LicenseFinder is released under the MIT License. http://www.opensource.org/licenses/mit-license