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

AOS Animating each time a user visit to section #847

Closed
imhamad opened this issue Mar 26, 2024 · 2 comments
Closed

AOS Animating each time a user visit to section #847

imhamad opened this issue Mar 26, 2024 · 2 comments

Comments

@imhamad
Copy link

imhamad commented Mar 26, 2024

This is:

  • Question

Expected Behavior

Actually i want to AOS to only animate once a user go through the page and redo the same behaviour only as of when the page reload

Actual Behavior

At the moment it's doing it everytime we faff through the sections

I hope it's been addressed before, any help on this would be a pleasure!

Cheers,

@ZuzannaFilipkowska
Copy link

Hi,

set atribute 'once' to true in global config or add it per animation. It makes animation run only once which seems like your desired behaviour. Check out documentation Everything is described in README: https://github.com/michalsnik/aos

@imhamad
Copy link
Author

imhamad commented Apr 4, 2024

Hey @ZuzannaFilipkowska ,

Really appreciate your take on it, Yes i rattled over the documentation, all is clear there!

Fondest Regards,
H

@imhamad imhamad closed this as completed Apr 4, 2024
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