Add animation effect to ajax response #886
Unanswered
amirehsan1370
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had below code to load contents with ajax, and I want to add an animation to contents when loaded.
for example animations from this page
I added below code after success (line 10), but when ajax items loaded animation fired on all items which loaded before and loading now!
anime({ targets: '.loadMoreRepeat', scale: [.5, 1]});
demo link
is there any idea to fire anime-js just on new items loaded?
Sorry if this is not the place for this question 🙏
Beta Was this translation helpful? Give feedback.
All reactions