Skip to content

Commit

Permalink
feat: add swipeDirection (#6290)
Browse files Browse the repository at this point in the history
  • Loading branch information
HomyeeKing authored Jan 16, 2023
1 parent e68d6f8 commit 3774a64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/types/swiper-class.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ interface Swiper extends SwiperClass<SwiperEvents> {
*/
allowTouchMove: boolean;

/**
* Direction of sliding
*/
swipeDirection: 'prev' | 'next';

/**
* !INTERNAL
*/
Expand Down

0 comments on commit 3774a64

Please sign in to comment.