diff --git a/ionic/components/slides/slides.ts b/ionic/components/slides/slides.ts index 5b88b579cf6..f1aef32363d 100644 --- a/ionic/components/slides/slides.ts +++ b/ionic/components/slides/slides.ts @@ -629,6 +629,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 af8c8bb351c..db8f25d1786 100644 --- a/ionic/components/slides/swiper-widget.d.ts +++ b/ionic/components/slides/swiper-widget.d.ts @@ -4,9 +4,10 @@ export declare class Swiper { activeIndex: number; isEnd: boolean; isBeginning: boolean; - + update(); slideNext(); slidePrev(); + slideTo(slideIndex: number, speed: number, runCallbacks: boolean); -} \ No newline at end of file +}