Load slides dynamically


#1

Hi guys,

I’m begining in ionic 2 and i’m working on a slider, but i do not know how to load my slides dynamically.

I have a lot of slides (~100) and i just want to load my slide ‘n’ and the slides ‘n-1’ and ‘n+1’ because it will be a problem when i will want to add more slides
Is there a way to do this ?

Thanks