Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delay between iteration #18

Closed
nurbol-sarsenbayev opened this issue Aug 20, 2018 · 5 comments
Closed

delay between iteration #18

nurbol-sarsenbayev opened this issue Aug 20, 2018 · 5 comments

Comments

@nurbol-sarsenbayev
Copy link

Hi! How can I set delay time between each iteration?

@graingert
Copy link
Owner

You should be able to set various animation preferences with:

WOW/src/WOW.js

Lines 301 to 303 in 34712a3

if (duration) { this.vendorSet(box.style, { animationDuration: duration }); }
if (delay) { this.vendorSet(box.style, { animationDelay: delay }); }
if (iteration) { this.vendorSet(box.style, { animationIterationCount: iteration }); }

Have you tried https://michalsnik.github.io/aos/ instead?

@graingert
Copy link
Owner

@nurbol-sarsenbayev looks like it can't be done, you have to configure your own animation with keyframes: https://css-tricks.com/css-keyframe-animation-delay-iterations/

@nurbol-sarsenbayev
Copy link
Author

I am using wow.js and animate.css in my project. Can I use own animation with wow.js?

@graingert
Copy link
Owner

I am using wow.js and animate.css in my project.

I know - have you tried AOS instead?

@nurbol-sarsenbayev
Copy link
Author

Thank you! I created own animation using keyframes like here https://css-tricks.com/css-keyframe-animation-delay-iterations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants