data-aos-callback="myJsFunction()"
Would fire a function once an animation has completed.
Actual Behavior
: ( doesnt exist
Amazing use cases
Chained animations triggered by an initial animation view
Sound reactive websites.
Fire off custom GA events when an animation was viewed by a user
Possible Solution
data-aos-callback would simply fire off a function when the animation has completed and the item is set in its final position. Used with data-aos-once="false" things like event tracking.
This is:
Specifications
FEATURE Behavior
data-aos-callback="myJsFunction()"
Would fire a function once an animation has completed.Actual Behavior
: ( doesnt exist
Amazing use cases
Possible Solution
data-aos-callback would simply fire off a function when the animation has completed and the item is set in its final position. Used with data-aos-once="false" things like event tracking.