Skip to content

Commit

Permalink
fix(types): add isLocked definition
Browse files Browse the repository at this point in the history
fixes #5941
  • Loading branch information
nolimits4web committed Aug 11, 2022
1 parent 8df7edf commit f2bbae6
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 @@ -138,6 +138,11 @@ interface Swiper extends SwiperClass<SwiperEvents> {
*/
isEnd: boolean;

/**
* `true` if slide is "locked" (by `watchOverflow`) and slides can not be, e.g. when amount of slides is less that slides per view
*/
isLocked: boolean;

/**
* `true` if swiper is in transition
*/
Expand Down

0 comments on commit f2bbae6

Please sign in to comment.