How to chain timeline and scroll observer #1052
Unanswered
SubhrajitDG
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I am Not sure but may be this type of code can help: - // first static animation const tl = createTimeline(); // Then initialize scroll-linked animation tl.then(() => { |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a timeline in which i am chaining multiple animations on a particular element, one specific animation being the element scales from 0 to 60.
After all the animations in the timeline are done i want to add scroll linked animation on that particular element where the element scales from 60 to 100 on scroll, but i am unable to do so, if i add scale autoplay onScroll on the element it skips the initial 0 to 60 scale included in the timeline.
Kindly help me figure this out, i want to play both the timeline scale animation and then the onScroll scale animation both
Beta Was this translation helpful? Give feedback.
All reactions