Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

107
Views
Swiper: How to determine the type of event?

I'm using Swiper for React.

I need to use a different effect if the user swipes and uses buttons to change the active slide.

I looked in the swipe object for information about the event type but couldn't find anything:

<StyledWidgetRecentJoins
  onTransitionEnd={(swiper) => {
    console.log(swiper);
  }}
>
  //
</StyledWidgetRecentJoins>

How to determine the type of event?

7 months ago · Juan Pablo Isaza
1 answers
Answer question

0

The Swiper API documentation gives you the a bunch of useful events you can listen to.

You can choose the ones you listen to. checkout this link for information - https://swiperjs.com/swiper-api#events

7 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs