Closed simonerama closed 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. If this issue is still actual, please, create the new one.
Hello people! I'm trying to create a custom slide transitions with TweenMax, what I'd like to get is assign +10deg to prev and next slide and -2deg to the active slide.
I've activate
watchSlidesProgress: true
to manage a progressive animation during drag/scroll, I've also activateloop: true
andcenteredSlides: true
.This it my code the first problem is that when loop restart probably it will reset rotate value, the other is that
20 * Math.abs(slideProgress)
is not the correct value in deg that I want, how can I assign it based on class name prev, next and active?Thank you