Swiper JS event for a single slide
Swiper JS event for a single slide
I just started using swiper js (http://idangero.us/swiper/) and I am trying to build a small website (basically the whole website is a scrollable slider and the sections are slides) and what I want to do is when the users goes to, let's say slide 2, from any other slide have a GSAP animation play and it should animate in the elements of slide 2. In the docs I saw events for when the slides change but this would affect every slide.
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy