Anime for rails asset pipeline
Anime is a lightweight JavaScript animation library with a simple, yet powerful API. It works with CSS properties, SVG, DOM attributes and JavaScript Objects.
The anime-rails
gem integrates the Anime
javascript library with Rails asset pipeline
JavaScript animation engine | animejs.com
Getting started | Documentation | Demos and examples | Browser support
Usage
Install anime-rails gem
Add anime-rails
to your Gemfile and run bundle install
:
gem "anime-rails"
Include anime-rails javascript assets
Add the following to your app/assets/javascripts/application.js
:
//= require anime