Animate On Scroll (AOS) Description
Scroll library animation. To make it work, ensure your build process correctly configures styles loader and bundles it. Parcel will work as expected if you use it. There are three ways to access the AOS object as a global variable. Initiate AOS, recalculate all positions and offsets of elements (called upon window resize), reinitiate array with AOS components and trigger refresh (called upon DOM changes that are relevant to AOS elements). AOS monitors DOM changes by default and calls refreshHard when there are new elements loaded asynchronously. You might have to call it manually in browsers that don’t support MutationObserver, such as IE. AOS can also be used to trigger a custom event for a particular element. You can also create custom animations.