According to the official documentation here, you can call either the slideTo()
or slideNext()
methods. For example (taken from the official Ionic v2+ documentation):
this.slides.slideTo(2, 500);
This would take you to the third slide, with a transition time of 500ms.
For changing to the previous or next slide you could either use the slideNext()
and slidePrev()
functions or save an index for the current slide and simply increment or decrement it, while passing it as a parameter to the slideTo()
function.