[Help]: TweenNode scale changing depending on the selected index #865
Unanswered
joaovictorcamargo
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hey, I'm struggling to achieve a specific behavior, and I was wondering if I can accomplish it using the Embla API?
These images represent me navigating through the thumbnails. In this example, I have to display a maximum of 7 thumbs, with 5 of them being normal size and the smaller ones indicating that we have more to show.
Think we have to add this logic inside the tweenScale funcition and apply the
tweenNode.style.transform = scale(${scale})
Can you guys please help me with that =)
If applicable, which variants of Embla Carousel are relevant to this question?
Additional information
No response
CodeSandbox example
No response
Beta Was this translation helpful? Give feedback.
All reactions