Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49088

Ionic Swiper - ng-repeat with loop (problem)

$
0
0

@Clément wrote:

Hello,

I use Swiper (ion-slide) with Ionic, but when i create a slider with loop: true and a ng-repeat inside every slide-page, the ng-repeat is multiply by the number of slide only in the slide "swiper-slide-duplicate" for the loop.

Example : https://codepen.io/clementdev/pen/qNxryJ
I create a slider with a ng-repeat for view all the color class on every slide but on the two slide duplicate everything is multiply by ten (number of slide).

I know, i need this slide duplicate for the loop but i don't understand why there duplicate all content and multiply by the number of slide.

(sorry, my English is not good)
Thanks for your help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>