Actually, as a lot of issues raise the point there is a problem of slower performance because it loads the all list (I have sometimes more than 50 items). Use “virtual scroll” with slides seems difficult because Slides object use Swiper API.
I try to use loop option to create a slider that going to have as input [ngForOf] a slice of my list that change on each slide movment but the problem is that the swiper create 2 duplicated slide not responsive to data binding. It just copy past the Dom7 object of the first and the last slide on its initialization. Once the loop it’s create they never change.
Here, I manage to use the swiper.createLoop() to recreate it when I change the first and last slide of my slider. It worked wonderfully until I have ion-button in my slide (how to make stuff easily …). And here is my real problem :
When the Dom7 is copy-past to the duplicated slides, the button is not fired because there is not anymore the output (click) … So on duplicated slides there is no data binding
Maybe the solution is to reproduce the loop mode but by creating duplicated slides that use the data binding.
I have tried to figure out how it would work and I thank to create my own directive whith a differ object attach to a a array with duplicated element at the begining and at the end and here I need some help