Questions tagged [anime.js]

Anime.js is a lightweight JavaScript animation library. It works with any CSS Properties, individual CSS transforms, SVG or any DOM attributes, and JavaScript Objects.

Anime.js is a lightweight JavaScript animation library. It works with any CSS Properties, individual CSS transforms, SVG or any DOM attributes, and JavaScript Objects.

291 questions
0
votes
1 answer

Where to store function return in React component?

I am trying to use anime.js within a react component. The animations don´t work properly(incomplete rotation, freezes, seems to skip frames...) and are affected by resizing of the window as well,the more i resize the shorter the animation gets until…
Al Ex Tsm
  • 2,042
  • 2
  • 29
  • 47
0
votes
0 answers

anime.js hover on every instance of class

Im trying to get this function to run on every instance of a button my site. Please help :) // Button Hover var buttonEl = document.querySelector('button'); function animateButton(scale, duration) { anime.remove(buttonEl); anime({ …
gsylvest
  • 1
  • 1
0
votes
1 answer

Vue2: Animate Items Inside a Slot with Anime.js

Goal I'd like to stagger the entry of the .modal-slot children. Problem I am unable to animate each child node individually, although animating .modal-slot works. Context