I am attempting to apply a delay to various elements with animated classes on a specific webpage using animate.css version 3.5.1 by Daniel Eden and jquery-viewport-checker version 1.8.7 by Dirk Groenen.
My initial approach was to utilize the setTimeout function like so...
setTimeout(function () {
jQuery('.fadeinleft1').addClass("hidden").viewportChecker({
classToAdd: 'visible animated fadeInLeft',
offset: 100
});
}, 500
);
However, this method affects all elements with the hidden class as well. I am looking to only delay the animation once it enters the viewport, allowing me to customize the delay for each object individually. I have been searching for a solution but have yet to find one.