diff --git a/ionic/components/slides/slides.ts b/ionic/components/slides/slides.ts index 6a1711ed5b3..ae9a38022eb 100644 --- a/ionic/components/slides/slides.ts +++ b/ionic/components/slides/slides.ts @@ -626,6 +626,13 @@ export class Slides extends Ion { }); } + /** + * @private + */ + slideTo(slideIndex: number, speed: number, runCallbacks: boolean) { + this.slider.slideTo(slideIndex, speed, runCallbacks); + } + /** * @private */ diff --git a/ionic/components/slides/swiper-widget.d.ts b/ionic/components/slides/swiper-widget.d.ts index 46ba7530438..f2a5185de02 100644 --- a/ionic/components/slides/swiper-widget.d.ts +++ b/ionic/components/slides/swiper-widget.d.ts @@ -8,4 +8,5 @@ export declare class Swiper { update(): any; slideNext(): any; slidePrev(): any; + slideTo(slideIndex: number, speed: number, runCallbacks: boolean); }