Closed pekanct closed 1 week ago
by scroll amount you mean activeIndex, right? I don't quite understand what you said @pekanct
I mean the amount of movement performed. For example, if I hold my finger down and stop the animation halfway, this value will be 50%. 100% is when the final event (eg. onSwipeRight) is triggered.. The same principle that is currently used for the opacity of the overlay, the further you swipe the card, the more the opacity of the overlay label increases. @Skipperlla I hope I was clearer now
I'm a little busy at the moment, if I have time I will add it
Please, can you add the amount of the swipe to the onSwipeActive event? I would like to add an animation that is played based on the swipe but at the moment I have not found any way to derive this value.
Thankyou 🙏🏻