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
Add anime-rails
to your Gemfile and run bundle install
:
gem "anime-rails"
Add the following to your app/assets/javascripts/application.js
:
//= require anime.min