A
A
artur0120972021-03-30 23:45:52
css
artur012097, 2021-03-30 23:45:52

How to stop AOS animation?

Connected animation library Aos. I want it so that after the user has scrolled and the animation is played back, it will not be repeated again. How can I do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arteom73, 2021-03-31
@Arteom73

AOS has an option like once(default: false)
try this
AOS.init({
once: true,
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question