Events V4
A collection of event listener utility methods to trigger and control animations.
All events functions are available on the events
object imported from the main 'animejs'
module:
import { events } from 'animejs';
events.onScroll();
Or imported directly from the main 'animejs'
module:
import { onScroll } from 'animejs';
Or imported as a standalone module from the 'animejs/events'
subpath:
import { onScroll } from 'animejs/events';
In this section