Skip to content

Commit

Permalink
fix(types): make loopSlides & loopCreate & loopDestroy internal
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Aug 18, 2021
1 parent f2d873a commit d6fdd1b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/types/swiper-class.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ interface Swiper extends SwiperClass<SwiperEvents> {
slides: Dom7Array;

/**
* If you use `slidesPerView:'auto'` with loop mode you should tell to Swiper how many slides it should loop (duplicate) using this parameter
*
* @default null
* !INTERNAL
*/
loopedSlides: number | null;

Expand Down Expand Up @@ -316,8 +314,14 @@ interface Swiper extends SwiperClass<SwiperEvents> {
*/
attachEvents(): void;

/**
* !INTERNAL
*/
loopCreate(): void;

/**
* !INTERNAL
*/
loopDestroy(): void;

/**
Expand Down

0 comments on commit d6fdd1b

Please sign in to comment.