Google News
logo
Anime.js - Interview Questions
What are the basic properties used in anime.js?
targets : The Css Selectors to target and identify on which animation has to apply.

duration : Time in milliseconds for which animation should last.

delay : Time in milliseconds after which animation starts.

translateX :  Places element at that x coordinate.

translateY : Places element at Y coordinate.

offset : This gives delay between different animations. i.e. to start another animation after x seconds of the previous one.
Advertisement