I’m working on creating an infinite slidebox where slides can be inserted/deleted from the beginning and end of the slidebox. I have been reasonable successful in creating standalone functions as follows:
Slidebox end actions has limited issues because the current index doesn’t need to move. Addition/subtract is behind it.
Append slide - good
Remove end slide - good, special logic - can’t delete the only slide or be on the last slide
Slidebox begin actions because changes before the current index requires the index to move.
Prepend slide - good, advances correctly except if on last slide.
Remove begin slide, works for all slides but last, logic - can’t delete the only slide or be on the first slide
Now, armed with these methods, I’m trying to use the ion-slide-box on-slide-changed() to add and remove slides as the user swipes through the slidebox.
Unfortunately, my slide index change for compensation (called within the on-slide-changed() function ) is getting beaten by the original on-slide-changed().
Did you ever solve this issue? I’m working on the same thing, a continuous SlideBox. I’m not sure it is the right implementation…but the features is exactly what I need.